Displaying 1 result from an estimated 1 matches for "test_appl".
Did you mean:
test_app
2007 Mar 19
0
cookies
...|| ''NOT seen!''
puts cookies.inspect # {"auth_token"=>42}, see below
render :text => ''testing'' # don''t look for view
end
end
context ''All controllers (via ApplicationController)...'' do
controller_name :test_application
specify ''should see cookie'' do
request.cookies[''auth_token''] = 42
get :index
assigns[''seen''].should eql(42)
end
end
clean$ spec -cfs spec/controllers/
All controllers (via ApplicationController)...
{"auth_toke...