diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-03 17:37:03 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 11:58:42 -0300 |
commit | 34e380764edede47f7ebe0c7671d6f9c9dc7e809 (patch) | |
tree | 7cf998642ebb3abf88a7976589db327ee408f1c6 /actionpack/test/dispatch | |
parent | e4e1fd7ade47771067177254cb133564a3422b8a (diff) | |
download | rails-34e380764edede47f7ebe0c7671d6f9c9dc7e809.tar.gz rails-34e380764edede47f7ebe0c7671d6f9c9dc7e809.tar.bz2 rails-34e380764edede47f7ebe0c7671d6f9c9dc7e809.zip |
Remove deprecated usage of string keys in URL helpers
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/routing/route_set_test.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/actionpack/test/dispatch/routing/route_set_test.rb b/actionpack/test/dispatch/routing/route_set_test.rb index 49d53cf270..fe52c50336 100644 --- a/actionpack/test/dispatch/routing/route_set_test.rb +++ b/actionpack/test/dispatch/routing/route_set_test.rb @@ -128,26 +128,6 @@ module ActionDispatch assert_equal '/a/users/1', url_helpers.user_path(1, foo: 'a') end - test "stringified controller and action keys are properly symbolized" do - draw do - root 'foo#bar' - end - - assert_deprecated do - assert_equal '/', url_helpers.root_path('controller' => 'foo', 'action' => 'bar') - end - end - - test "mix of string and symbol keys are properly symbolized" do - draw do - root 'foo#bar' - end - - assert_deprecated do - assert_equal '/', url_helpers.root_path('controller' => 'foo', :action => 'bar') - end - end - private def draw(&block) @set.draw(&block) |