aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/railties/shared_tests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/railties/shared_tests.rb')
-rw-r--r--railties/test/railties/shared_tests.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/railties/shared_tests.rb b/railties/test/railties/shared_tests.rb
index 6aae17c237..068ea932e2 100644
--- a/railties/test/railties/shared_tests.rb
+++ b/railties/test/railties/shared_tests.rb
@@ -178,7 +178,7 @@ module RailtiesTest
RUBY
app_file "config/routes.rb", <<-RUBY
- AppTemplate::Application.routes.draw do |map|
+ AppTemplate::Application.routes.draw do
match 'foo', :to => 'foo#index'
end
RUBY
@@ -192,7 +192,7 @@ module RailtiesTest
RUBY
@plugin.write "config/routes.rb", <<-RUBY
- Rails.application.routes.draw do |map|
+ Rails.application.routes.draw do
match 'foo', :to => 'bar#index'
match 'bar', :to => 'bar#index'
end