diff options
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/rake_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 00a4ab06aa..cfa5cc1322 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -159,7 +159,8 @@ module ApplicationTests end RUBY - output = Dir.chdir(app_path){ `CONTROLLER=cart rake routes` } + ENV['CONTROLLER'] = 'cart' + output = Dir.chdir(app_path){ `rake routes` } assert_equal "Prefix Verb URI Pattern Controller#Action\ncart GET /cart(.:format) cart#show\n", output end |