[rspec-users] undefined local variable or method `params' for #<Spec
Fernando Perez
lists at ruby-forum.com
Tue Apr 14 09:04:29 EDT 2009
Try with that:
controller.stub!(:params).and_return({:controller =>
'your_controller_name'})
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list