X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6e3d183c40a6b5c0d01352531e00d577e314c98c..21d60e359a6e972731e0385c51dd86536b7ea777:/test/integration/user_terms_seen_test.rb diff --git a/test/integration/user_terms_seen_test.rb b/test/integration/user_terms_seen_test.rb index 3a42aa6bd..678492f3c 100644 --- a/test/integration/user_terms_seen_test.rb +++ b/test/integration/user_terms_seen_test.rb @@ -64,6 +64,8 @@ class UserTermsSeenTest < ActionDispatch::IntegrationTest # back to the terms page. get "/traces/mine" assert_redirected_to "controller" => "user", "action" => "terms", :referer => "/traces/mine" + get "/traces/mine", :referer => "/test" + assert_redirected_to "controller" => "user", "action" => "terms", :referer => "/test" end end