Ruby 1.9: work around constant resolution behavior change :(
This commit is contained in:
parent
d2d3464fcc
commit
52e2bbd5c0
|
@ -40,7 +40,7 @@ module AbstractController
|
||||||
|
|
||||||
class AbstractHelpersBlock < ControllerWithHelpers
|
class AbstractHelpersBlock < ControllerWithHelpers
|
||||||
helper do
|
helper do
|
||||||
include HelperyTest
|
include ::AbstractController::Testing::HelperyTest
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
|
||||||
get 'admin', :to => "queenbee#index"
|
get 'admin', :to => "queenbee#index"
|
||||||
end
|
end
|
||||||
|
|
||||||
constraints IpRestrictor do
|
constraints ::TestRoutingMapper::IpRestrictor do
|
||||||
get 'admin/accounts', :to => "queenbee#accounts"
|
get 'admin/accounts', :to => "queenbee#accounts"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
match 'sprockets.js', :to => SprocketsApp
|
match 'sprockets.js', :to => ::TestRoutingMapper::SprocketsApp
|
||||||
|
|
||||||
match 'people/:id/update', :to => 'people#update', :as => :update_person
|
match 'people/:id/update', :to => 'people#update', :as => :update_person
|
||||||
match '/projects/:project_id/people/:id/update', :to => 'people#update', :as => :update_project_person
|
match '/projects/:project_id/people/:id/update', :to => 'people#update', :as => :update_project_person
|
||||||
|
|
Loading…
Reference in New Issue