[rspec-users] rspec and should eql

slavix mikerin.slava at gmail.com
Mon Sep 5 21:10:58 EDT 2011


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)


btw, I am using

  gem "rspec"
  gem "rspec-rails"
  gem "remarkable_activerecord", "~> 4.0.0.alpha4"
  gem 'rspec-rails-ext'
  gem 'rspec-rails-matchers'
  gem "cucumber-rails"
  gem "webrat"
  gem "capybara"
  gem "mocha"
  gem "rcov"
  gem "faker"
  gem "shoulda-matchers"


More information about the rspec-users mailing list