diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-07-03 16:35:07 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-07-03 16:35:07 -0700 |
commit | b5442b5a3aba2c1e9c3c54c4ec824595536b8f6c (patch) | |
tree | 26f6c3f75c662cd75cf9c8c16add92b83ab016ab /actionpack/test/controller | |
parent | e136fbd7fa3286006766b59485a0e3348c776e5c (diff) | |
download | rails-b5442b5a3aba2c1e9c3c54c4ec824595536b8f6c.tar.gz rails-b5442b5a3aba2c1e9c3c54c4ec824595536b8f6c.tar.bz2 rails-b5442b5a3aba2c1e9c3c54c4ec824595536b8f6c.zip |
test should be testing to_param not to_s, remove Array subclass
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/test_case_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb index 49137946fe..6fccfea0d0 100644 --- a/actionpack/test/controller/test_case_test.rb +++ b/actionpack/test/controller/test_case_test.rb @@ -635,7 +635,7 @@ XML get :test_params, :path => ['hello', 'world'] assert_equal ['hello', 'world'], @request.path_parameters['path'] - assert_equal 'hello/world', @request.path_parameters['path'].to_s + assert_equal 'hello/world', @request.path_parameters['path'].to_param end end @@ -913,4 +913,4 @@ class AnonymousControllerTest < ActionController::TestCase get :index assert_equal 'anonymous', @response.body end -end
\ No newline at end of file +end |