diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-04 14:49:29 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-04 14:51:54 -0800 |
commit | 52e2bbd5c004f22b2affeec0fc03f1f9ca8c2a24 (patch) | |
tree | f5d20539ee7cf99a2f8243f1dbce88aac2706a79 /actionpack/test/dispatch | |
parent | d2d3464fcc8c230cc206cdb4d47f24c47ae6699d (diff) | |
download | rails-52e2bbd5c004f22b2affeec0fc03f1f9ca8c2a24.tar.gz rails-52e2bbd5c004f22b2affeec0fc03f1f9ca8c2a24.tar.bz2 rails-52e2bbd5c004f22b2affeec0fc03f1f9ca8c2a24.zip |
Ruby 1.9: work around constant resolution behavior change :(
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index 7917c1974b..ca07bc7a28 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -37,7 +37,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest get 'admin', :to => "queenbee#index" end - constraints IpRestrictor do + constraints ::TestRoutingMapper::IpRestrictor do get 'admin/accounts', :to => "queenbee#accounts" end @@ -80,7 +80,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest end end - match 'sprockets.js', :to => SprocketsApp + match 'sprockets.js', :to => ::TestRoutingMapper::SprocketsApp match 'people/:id/update', :to => 'people#update', :as => :update_person match '/projects/:project_id/people/:id/update', :to => 'people#update', :as => :update_project_person |