Try with that:
controller.stub!(:params).and_return({:controller =>
'your_controller_name'})
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
