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

Fernando Perez
Tue, 14 Apr 2009 13:04:29 -0000

Try with that:

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