diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2010-08-05 16:29:54 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-05 13:44:36 +0200 |
commit | 8659c5e657b6fc5bb9094667a0d35779516bc2e1 (patch) | |
tree | 133eb5c348e780ef4d6d93fa206e39e589ca4ab7 | |
parent | aac390204a0d1fce7a4af6fb732a5e4b2b889304 (diff) | |
download | rails-8659c5e657b6fc5bb9094667a0d35779516bc2e1.tar.gz rails-8659c5e657b6fc5bb9094667a0d35779516bc2e1.tar.bz2 rails-8659c5e657b6fc5bb9094667a0d35779516bc2e1.zip |
Fixed url_for test
Added route which matches all: controller, action, id and format
-rw-r--r-- | actionpack/test/controller/url_for_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/url_for_test.rb b/actionpack/test/controller/url_for_test.rb index 5552a0b0f9..2d0c019128 100644 --- a/actionpack/test/controller/url_for_test.rb +++ b/actionpack/test/controller/url_for_test.rb @@ -5,7 +5,7 @@ module AbstractController class UrlForTests < ActionController::TestCase class W - include SharedTestRoutes.url_helpers + include ActionDispatch::Routing::RouteSet.new.tap { |r| r.draw { match ':controller(/:action(/:id(.:format)))' } }.url_helpers end def teardown |