1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Default route was removed from default route config, patch up failing tests.

This commit is contained in:
Joshua Peek 2009-12-21 17:47:03 -06:00
parent 715dd10961
commit 880688a499

View file

@ -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