diff options
author | Ilkka Oksanen <iao@iki.fi> | 2018-06-29 12:41:34 +0200 |
---|---|---|
committer | Ilkka Oksanen <iao@iki.fi> | 2018-08-20 13:35:35 +0200 |
commit | e385e4678fc64be6e176c3bdac6641db9fe48d85 (patch) | |
tree | 3bffbc828977cbae12a2f902b0c6226b4a3bf6da /actionpack/test | |
parent | 3e3a0d1cc31ff929de2b27f2e6790d2ccdde9e2c (diff) | |
download | rails-e385e4678fc64be6e176c3bdac6641db9fe48d85.tar.gz rails-e385e4678fc64be6e176c3bdac6641db9fe48d85.tar.bz2 rails-e385e4678fc64be6e176c3bdac6641db9fe48d85.zip |
Don't handle params option in a special way in url_for helper
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/base_test.rb b/actionpack/test/controller/base_test.rb index a672ede1a9..907de44bdb 100644 --- a/actionpack/test/controller/base_test.rb +++ b/actionpack/test/controller/base_test.rb @@ -193,7 +193,7 @@ class UrlOptionsTest < ActionController::TestCase action: "home", controller: "pages", only_path: true, - params: { "token" => "secret" } + token: "secret" } assert_equal "/home?token=secret", rs.url_for(options) |