]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/site_controller_test.rb
Add welcome page based on http://osmlab.github.io/welcome-osm/
[rails.git] / test / functional / site_controller_test.rb
index 770f3e2b5171a7e4af59d4a9b3f156bdaa25ad32..4f41858e86b2d17ccc4ae6ca2bafd461a75ffb6d 100644 (file)
@@ -34,6 +34,10 @@ class SiteControllerTest < ActionController::TestCase
       { :path => "/copyright/locale", :method => :get },
       { :controller => "site", :action => "copyright", :copyright_locale => "locale" }
     )
+    assert_routing(
+      { :path => "/welcome", :method => :get },
+      { :controller => "site", :action => "welcome" }
+    )
     assert_routing(
       { :path => "/export", :method => :get },
       { :controller => "site", :action => "index", :export => true }