Ruby 1.9: work around constant resolution behavior change :(

This commit is contained in:
Jeremy Kemper 2009-11-04 14:49:29 -08:00
parent d2d3464fcc
commit 52e2bbd5c0
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ module AbstractController
class AbstractHelpersBlock < ControllerWithHelpers
helper do
include HelperyTest
include ::AbstractController::Testing::HelperyTest
end
end

View File

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