[rspec-users] rspec and should eql

David Chelimsky dchelimsky at gmail.com
Mon Sep 5 22:50:42 EDT 2011


On Sep 5, 2011, at 8:10 PM, slavix wrote:

> Having troubles with rspec and should eql.. in a rails 3.1 app
> 
> spec has this
>  User.first.name.should eql('admin')
> 
> get this error
> .rvm/gems/ruby-1.9.2-p290/gems/remarkable-4.0.0.alpha4/lib/remarkable/
> core/macros.rb:15:in `method_missing': undefined method `eql' for
> #<Class:0xf51ab30> (NoMethodError)

Please post the example that is failing and the full error message.


More information about the rspec-users mailing list