diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-21 17:47:03 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-21 17:47:03 -0600 |
commit | 880688a499b4066d6654a4cd11b76d14cc62865e (patch) | |
tree | f2f0c79b1b91d06df49a239628cdfbf000f8edbe | |
parent | 715dd10961cefd1d8039cb81f47788d0a5b97d0d (diff) | |
download | rails-880688a499b4066d6654a4cd11b76d14cc62865e.tar.gz rails-880688a499b4066d6654a4cd11b76d14cc62865e.tar.bz2 rails-880688a499b4066d6654a4cd11b76d14cc62865e.zip |
Default route was removed from default route config, patch up failing tests.
-rw-r--r-- | railties/test/application/routing_test.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/railties/test/application/routing_test.rb b/railties/test/application/routing_test.rb index decde056fd..1add941ee0 100644 --- a/railties/test/application/routing_test.rb +++ b/railties/test/application/routing_test.rb @@ -28,6 +28,12 @@ module ApplicationTests end RUBY + app_file 'config/routes.rb', <<-RUBY + ActionController::Routing::Routes.draw do |map| + match ':controller(/:action)' + end + RUBY + get '/foo' assert_equal 'foo', last_response.body end @@ -49,6 +55,12 @@ module ApplicationTests end RUBY + app_file 'config/routes.rb', <<-RUBY + ActionController::Routing::Routes.draw do |map| + match ':controller(/:action)' + end + RUBY + get '/foo' assert_equal 'foo', last_response.body @@ -75,6 +87,12 @@ module ApplicationTests end RUBY + app_file 'config/routes.rb', <<-RUBY + ActionController::Routing::Routes.draw do |map| + match ':controller(/:action)' + end + RUBY + get '/foo' assert_equal 'foo', last_response.body |