[rspec-users] Cucumber model expectations fail to find newly created users

Hubert Lepicki lists at ruby-forum.com
Sun Jan 4 14:15:43 EST 2009


The step definition is actually:

Then /^should exist exactly "(.*)" users$/ do |cnt|
  User.count.should == cnt.to_i
end

but that doesn't change anything, please help!
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list