]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/site_controller_test.rb
Create map key resource
[rails.git] / test / controllers / site_controller_test.rb
index 5a1399e2d7ebc50c62fb5f414bbaf9d4b807232b..9246dcc1b0076f3d025e5e71ae5f4ed3597072a2 100644 (file)
@@ -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