aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/abstract_unit.rb')
-rw-r--r--actionpack/test/abstract_unit.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index 9960f7af87..e0acbdd430 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -254,10 +254,10 @@ module ActionController
end
end
-# ROUTES TODO: Cleaner way to do this?
+# This stub emulates the Railtie including the URL helpers from a Rails application
module ActionController
- UrlFor = SharedTestRoutes.url_helpers
class Base
- include UrlFor
+ # ROUTES TODO: Rename SharedTestRoutes to something that reflects it's a standin for Rails.application
+ include SharedTestRoutes.url_helpers
end
end \ No newline at end of file