aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2014-01-16 10:13:05 +0100
committerPiotr Sarnacki <drogus@gmail.com>2014-01-16 10:13:51 +0100
commit2e0f9ed76eed8132ce49e672694a3d53baf38b6f (patch)
treee30aa77e7531582a5cbee470fd2fbf63198f767c /actionpack/test/dispatch
parent73d8a90bee79106c965ad35151870941ab38d951 (diff)
downloadrails-2e0f9ed76eed8132ce49e672694a3d53baf38b6f.tar.gz
rails-2e0f9ed76eed8132ce49e672694a3d53baf38b6f.tar.bz2
rails-2e0f9ed76eed8132ce49e672694a3d53baf38b6f.zip
Revert "Don't remove trailing slash from PATH_INFO for mounted apps"
The revert is needed because of a regression described in #13369, routes with trailing slash are no longer recognized properly. This reverts commit 50311f1391ddd8e0349d74eb57f04b7e0045a27d.
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r--actionpack/test/dispatch/mount_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/test/dispatch/mount_test.rb b/actionpack/test/dispatch/mount_test.rb
index 683a4f01e2..cdf00d84fb 100644
--- a/actionpack/test/dispatch/mount_test.rb
+++ b/actionpack/test/dispatch/mount_test.rb
@@ -44,11 +44,6 @@ class TestRoutingMount < ActionDispatch::IntegrationTest
"A named route should be defined with a parent's prefix"
end
- def test_trailing_slash_is_not_removed_from_path_info
- get "/sprockets/omg/"
- assert_equal "/sprockets -- /omg/", response.body
- end
-
def test_mounting_sets_script_name
get "/sprockets/omg"
assert_equal "/sprockets -- /omg", response.body