aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_test.rb
diff options
context:
space:
mode:
authorCezary Baginski <cezary.baginski@gmail.com>2010-04-25 19:48:40 +0200
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-25 17:00:20 -0700
commit490a3335d56c124c8113aac0b63ad367f81bb450 (patch)
tree9afa343cab77240da525014e9b192f2b06bc18dd /actionpack/test/dispatch/routing_test.rb
parent8ec085bf1804770a547894967fcdee24087fda87 (diff)
downloadrails-490a3335d56c124c8113aac0b63ad367f81bb450.tar.gz
rails-490a3335d56c124c8113aac0b63ad367f81bb450.tar.bz2
rails-490a3335d56c124c8113aac0b63ad367f81bb450.zip
Action Pack: fix tests with -K*, work around Ruby 1.9.1 constant lookup.
[#4473 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack/test/dispatch/routing_test.rb')
-rw-r--r--actionpack/test/dispatch/routing_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index f67e403330..b508996467 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -237,8 +237,8 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
AltRoutes = ActionDispatch::Routing::RouteSet.new(AltRequest)
AltRoutes.draw do
- get "/" => XHeader.new, :constraints => {:x_header => /HEADER/}
- get "/" => AltApp.new
+ get "/" => TestRoutingMapper::TestAltApp::XHeader.new, :constraints => {:x_header => /HEADER/}
+ get "/" => TestRoutingMapper::TestAltApp::AltApp.new
end
def app