X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/20e5f756be74c8adf31d7ec3a6406a2b4bdb22c1..90621b4b4f2b48a1dddde89bbaf748c3776e2020:/test/functional/site_controller_test.rb diff --git a/test/functional/site_controller_test.rb b/test/functional/site_controller_test.rb index 7495e30e0..47bc27806 100644 --- a/test/functional/site_controller_test.rb +++ b/test/functional/site_controller_test.rb @@ -58,6 +58,10 @@ class SiteControllerTest < ActionController::TestCase { :path => "/preview/formatname", :method => :get }, { :controller => "site", :action => "preview", :format => "formatname" } ) + assert_routing( + { :path => "/id", :method => :get }, + { :controller => "site", :action => "id" } + ) end ## Lets check that we can get all the pages without any errors @@ -86,7 +90,6 @@ class SiteControllerTest < ActionController::TestCase def assert_site_partials(count = 1) assert_template :partial => '_search', :count => count - assert_template :partial => '_key', :count => count assert_template :partial => '_sidebar', :count => count end