X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/085bec0f35c1e7c415fe64a82568e781ac59652f..a5a2d297fc1c4afed643dd5458a338ad63f39d44:/test/controllers/site_controller_test.rb diff --git a/test/controllers/site_controller_test.rb b/test/controllers/site_controller_test.rb index 5a1399e2d..9246dcc1b 100644 --- a/test/controllers/site_controller_test.rb +++ b/test/controllers/site_controller_test.rb @@ -60,10 +60,6 @@ class SiteControllerTest < ActionDispatch::IntegrationTest { :path => "/offline", :method => :get }, { :controller => "site", :action => "offline" } ) - assert_routing( - { :path => "/key", :method => :get }, - { :controller => "site", :action => "key" } - ) assert_routing( { :path => "/go/shortcode", :method => :get }, { :controller => "site", :action => "permalink", :code => "shortcode" } @@ -143,15 +139,6 @@ class SiteControllerTest < ActionDispatch::IntegrationTest assert_redirected_to changeset_path(4, :anchor => "map=3/4.8779296875/3.955078125") end - # Test the key page - def test_key - get key_path, :xhr => true - - assert_response :success - assert_template "key" - assert_template :layout => false - end - # Test the edit page redirects when you aren't logged in def test_edit get edit_path