Displaying 1 result from an estimated 1 matches for "test_my_page".
2007 Apr 29
0
integration test redirects to external URLs
In an integration test that I am writing I want to do something like
def test_my_page
get "/rails/someaction"
assert_response :redirect
follow_redirect!
assert_url => ''http://www.somepageoutsidemyrailsapp''
end
Is there any way to do something like ''assert_url'' and see if I was
redirected to a page outside of the...