Displaying 1 result from an estimated 1 matches for "tp16927457p16927457".
2008 Apr 29
1
Spec''ing controller macros
...session management for requests made by robot user
agent" do
request.stub!(:user_agent).and_return("Google Robot")
controller.should_receive(:session).with(:off)
get :index
end
end
--
View this message in context: http://www.nabble.com/Spec%27ing-controller-macros-tp16927457p16927457.html
Sent from the rspec-users mailing list archive at Nabble.com.