Hey,

Using RSpec 2.4.0 with Rails 3.0.3 I'm doing this:

rake spec:models and things works well.

Now, when doing  rspec spec/models/spot_spec.rb that has
Spot.stub! :test1

I get:  undefined method `stub!' for Spot:Class

Am I missing something here?


_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to