aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-02-10 22:17:30 -0800
committerXavier Noria <fxn@hashref.com>2012-02-10 22:17:30 -0800
commitfd5d9b366c7ad192bbcf5b3c0a774ff684cb9d78 (patch)
treed13322cb630bb6cceea895249b8e4a14445fb468 /actionpack/test
parentd94e427a92af6ddc44113397b5500ac182479957 (diff)
downloadrails-fd5d9b366c7ad192bbcf5b3c0a774ff684cb9d78.tar.gz
rails-fd5d9b366c7ad192bbcf5b3c0a774ff684cb9d78.tar.bz2
rails-fd5d9b366c7ad192bbcf5b3c0a774ff684cb9d78.zip
fixes a regression introduced by 532cd4, and a bogus test in AP the regression uncovered
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/dispatch/routing_test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index 518d0333eb..d591926b0e 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -2153,25 +2153,25 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
def test_singleton_resources_are_not_singularized
with_test_routes do
get '/medical/taxis/new'
- assert_equal 'medical/taxes#new', @response.body
+ assert_equal 'medical/taxis#new', @response.body
assert_equal '/medical/taxis/new', new_medical_taxis_path
post '/medical/taxis'
- assert_equal 'medical/taxes#create', @response.body
+ assert_equal 'medical/taxis#create', @response.body
get '/medical/taxis'
- assert_equal 'medical/taxes#show', @response.body
+ assert_equal 'medical/taxis#show', @response.body
assert_equal '/medical/taxis', medical_taxis_path
get '/medical/taxis/edit'
- assert_equal 'medical/taxes#edit', @response.body
+ assert_equal 'medical/taxis#edit', @response.body
assert_equal '/medical/taxis/edit', edit_medical_taxis_path
put '/medical/taxis'
- assert_equal 'medical/taxes#update', @response.body
+ assert_equal 'medical/taxis#update', @response.body
delete '/medical/taxis'
- assert_equal 'medical/taxes#destroy', @response.body
+ assert_equal 'medical/taxis#destroy', @response.body
end
end