diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-07-09 01:22:18 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:06 +0200 |
commit | 8a077089d9b7aa89cb56ef754b4540f411453375 (patch) | |
tree | 92cf07a73c937180830c786876c506f07c851284 /actionpack/test/dispatch | |
parent | b1e5e233fabe8f75ebd06e7e08c15f0eeddbae79 (diff) | |
download | rails-8a077089d9b7aa89cb56ef754b4540f411453375.tar.gz rails-8a077089d9b7aa89cb56ef754b4540f411453375.tar.bz2 rails-8a077089d9b7aa89cb56ef754b4540f411453375.zip |
Get rid of :skip_prefix options in routes
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/url_generation_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/url_generation_test.rb b/actionpack/test/dispatch/url_generation_test.rb index f83651d583..d491be2f11 100644 --- a/actionpack/test/dispatch/url_generation_test.rb +++ b/actionpack/test/dispatch/url_generation_test.rb @@ -31,7 +31,7 @@ module TestUrlGeneration end test "the request's SCRIPT_NAME takes precedence over the routes'" do - get "/foo", {}, 'SCRIPT_NAME' => "/new" + get "/foo", {}, 'SCRIPT_NAME' => "/new", 'action_dispatch.routes' => Routes assert_equal "/new/foo", response.body end |