]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_terms_seen_test.rb
Tests!
[rails.git] / test / integration / user_terms_seen_test.rb
index 3a42aa6bd236df8ac1337abf264bf3c30e357dfd..678492f3c75179f9194b9e5b2d79ea40d37fdf8b 100644 (file)
@@ -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