X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a24f52dec75007d05c5a4e2986dd82c4602af4ad..affe17a31a7afab6b62a0124d40386b0210ac9e2:/test/functional/site_controller_test.rb diff --git a/test/functional/site_controller_test.rb b/test/functional/site_controller_test.rb index 711f94bcd..f2dab3404 100644 --- a/test/functional/site_controller_test.rb +++ b/test/functional/site_controller_test.rb @@ -48,6 +48,10 @@ class SiteControllerTest < ActionController::TestCase { :path => "/welcome", :method => :get }, { :controller => "site", :action => "welcome" } ) + assert_routing( + { :path => "/fixthemap", :method => :get }, + { :controller => "site", :action => "fixthemap" } + ) assert_routing( { :path => "/export", :method => :get }, { :controller => "site", :action => "export" } @@ -253,6 +257,13 @@ class SiteControllerTest < ActionController::TestCase assert_template "welcome" end + # Test the fixthemap page + def test_fixthemap + get :fixthemap + assert_response :success + assert_template "fixthemap" + end + # Test the help page def test_help get :help