[rspec-users] undefined method `mock_model' for [RSpec example]:#<Class:0x25550a8>

Zach Dennis zach.dennis at gmail.com
Thu Aug 16 10:17:30 EDT 2007


I am getting:
  undefined method `mock_model' for [RSpec example]:#<Class:0x25550a8>

with my view specs after upgrading to 1.0.8. Is anyone else seeing this?

To isolate the message I did the following setup:

 - create new rails project (with edge)
 - installed rspec and rspec_on_rails
 - ran rake spec
 - ran script/generate rspec_scaffold products
 - tried to run a builtin view spec

Zach


More information about the rspec-users mailing list