Displaying 1 result from an estimated 1 matches for "get_qot".
Did you mean:
get_qote
2007 Jun 26
4
Fake SSL in specs when using ssl_requirement plug-in
Hi
I''ve used the ssl_required line from the ssl_requirement plug-in at
the start of a controller for SSL. Its implemented as redirects so I
can spec this...
describe "GET /gap/get_qote" do
controller_name :gap
it "should redirect to the HTTPS version of the action" do
get ''get_quote'', :id => "finance"
response.should redirect_to(''https://test.host/gap/get_quote/
finance'')
end
end
....