aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-05-25 09:27:39 +0200
committerJosé Valim <jose.valim@gmail.com>2012-05-25 09:27:39 +0200
commit73db73fee931e087317261fe9373228b5c0f1ed1 (patch)
tree9c10cd275668dc5470d51c6133c9e973ba6be5e1 /actionpack/test/dispatch/routing_test.rb
parentec8c4b5a833526c7f1f9d5d1f3fd566cf386f47e (diff)
downloadrails-73db73fee931e087317261fe9373228b5c0f1ed1.tar.gz
rails-73db73fee931e087317261fe9373228b5c0f1ed1.tar.bz2
rails-73db73fee931e087317261fe9373228b5c0f1ed1.zip
Remove implicit dependency on pathname
Diffstat (limited to 'actionpack/test/dispatch/routing_test.rb')
-rw-r--r--actionpack/test/dispatch/routing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index 00d09282ca..fa4cb301eb 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -2331,7 +2331,7 @@ class TestDrawExternalFile < ActionDispatch::IntegrationTest
end
end
- DRAW_PATH = Pathname.new(File.expand_path('../../fixtures/routes', __FILE__))
+ DRAW_PATH = File.expand_path('../../fixtures/routes', __FILE__)
DefaultScopeRoutes = ActionDispatch::Routing::RouteSet.new.tap do |app|
app.draw_paths << DRAW_PATH