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
But when I use spork, every test where shoulda macros (like it { should validate_presence_of(:title) } are used FAILS with error like: undefined method 'validate_presence_of' for ...
When I run rspec spec/models result is OK.
But when I use spork, every test where shoulda macros (like it { should validate_presence_of(:title) } are used FAILS with error like: undefined method 'validate_presence_of' for ...
rails (3.0.0)
shoulda (2.11.3)
spork (0.8.4)
rspec-rails (>= 2.0.0.beta.22)
More info here:
http://stackoverflow.com/questions/3894232/rspec-shoulda-and-spork-does-not-work-together
The text was updated successfully, but these errors were encountered: