You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failure/Error: it { should have_scope :expiring, :where => "date_expired IS NOT NULL" }
`@' is not allowed as an instance variable name
# /usr/local/opt/rbenv/versions/2.0.0-rc2/lib/ruby/gems/2.0.0/gems/remarkable-4.0.0.alpha4/lib/remarkable/core/dsl/assertions.rb:402:in `instance_variable_get'
# /usr/local/opt/rbenv/versions/2.0.0-rc2/lib/ruby/gems/2.0.0/gems/remarkable-4.0.0.alpha4/lib/remarkable/core/dsl/assertions.rb:402:in `matches_collection_assertions?'
# /usr/local/opt/rbenv/versions/2.0.0-rc2/lib/ruby/gems/2.0.0/gems/remarkable-4.0.0.alpha4/lib/remarkable/core/dsl/assertions.rb:291:in `matches?'
# /usr/local/opt/rbenv/versions/2.0.0-rc2/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:23:in `handle_matcher'
# /usr/local/var/lib/rbenv/versions/2.0.0-rc2/lib/ruby/gems/2.0.0/gems/rspec-core-2.12.1/lib/rspec/core/subject.rb:64:in `should'
# ./spec/models/activity_file_spec.rb:20:in `block (2 levels) in <top (required)>'
The text was updated successfully, but these errors were encountered:
Not really. Since the project seems dead, I will be probably replacing it with something else long-term. For now, as scopes are the only thing that breaks under ruby 2.0, I'm gonna just write my own scope matcher.
The text was updated successfully, but these errors were encountered: