diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-11-22 11:29:45 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-11-22 11:29:45 -0800 |
commit | b33ed44ad312c5274fe72b26172ac0116d9ffb28 (patch) | |
tree | c47a945715f6fd3ef05fc412052bfdd5411b7942 /actionpack/lib/action_dispatch | |
parent | c7ccf1bb5d835d91494b78142cf11702927ff03a (diff) | |
download | rails-b33ed44ad312c5274fe72b26172ac0116d9ffb28.tar.gz rails-b33ed44ad312c5274fe72b26172ac0116d9ffb28.tar.bz2 rails-b33ed44ad312c5274fe72b26172ac0116d9ffb28.zip |
Remove outdated comments [ci skip]
They were introduced in 23b6def; the serial stuff has been removed since a5d80f8
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index e06f7037c6..28dc88d317 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -144,12 +144,6 @@ module ActionDispatch old_controller, @controller = @controller, @controller.clone _routes = @routes - # Unfortunately, there is currently an abstraction leak between AC::Base - # and AV::Base which requires having the URL helpers in both AC and AV. - # To do this safely at runtime for tests, we need to bump up the helper serial - # to that the old AV subclass isn't cached. - # - # TODO: Make this unnecessary @controller.singleton_class.send(:include, _routes.url_helpers) @controller.view_context_class = Class.new(@controller.view_context_class) do include _routes.url_helpers |