class Shoulda::ActiveRecord::Matchers::HaveNamedScopeMatcher

def scope

def scope
  @scope ||= @context.instance_eval("#{@subject.class.name}.#{@scope_call}")
end