# File lib/shoulda/active_record/macros.rb, line 504 504: def should_have_named_scope(scope_call, find_options = nil) 505: matcher = have_named_scope(scope_call).finding(find_options) 506: should matcher.description do 507: assert_accepts matcher.in_context(self), subject 508: end 509: end