summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integration/routing/welcome_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/welcome_test.rb b/test/integration/routing/welcome_test.rb
index 4c6bf8859..b700dbefb 100644
--- a/test/integration/routing/welcome_test.rb
+++ b/test/integration/routing/welcome_test.rb
@@ -20,6 +20,10 @@ require File.expand_path('../../../test_helper', __FILE__)
class RoutingWelcomeTest < ActionController::IntegrationTest
def test_welcome
assert_routing(
+ { :method => 'get', :path => "/" },
+ { :controller => 'welcome', :action => 'index' }
+ )
+ assert_routing(
{ :method => 'get', :path => "/robots.txt" },
{ :controller => 'welcome', :action => 'robots' }
)