[rspec-users] undefined local variable or method `params' for #<Spec

Salil Gaikwad lists at ruby-forum.com
Tue Apr 14 10:00:39 EDT 2009


> Try with that:
> 
> controller.stub!(:params).and_return({:controller => 
> 'your_controller_name'})

Nah it doesn't work out,gives same error.
neways thanx for the info.
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list