diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-29 11:51:32 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-29 11:51:32 -0200 |
commit | a35ec0c02235e7e332f8551a6c94c69ac929a1bf (patch) | |
tree | 77235d82964272c8721a62ae046b16279d01f945 /actionpack/CHANGELOG.md | |
parent | 069b72aaf04d2caef76f8e71f320716129f2d949 (diff) | |
parent | baf14ae513337cb185acf865e93dfc48f3aabf6a (diff) | |
download | rails-a35ec0c02235e7e332f8551a6c94c69ac929a1bf.tar.gz rails-a35ec0c02235e7e332f8551a6c94c69ac929a1bf.tar.bz2 rails-a35ec0c02235e7e332f8551a6c94c69ac929a1bf.zip |
Merge pull request #18323 from kirs/controller-test-kwargs
Use kwargs in ActionController::TestCase and ActionDispatch::Integration HTTP methods
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 834fb67914..83ca22daec 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,15 @@ +* Migrating to kwarg syntax in `ActionController::TestCase` and + `ActionDispatch::Integration` HTTP request methods + + New syntax example: + ```ruby + post :create, params: { y: x }, session: { a: 'b' } + get :view, params: { id: 1 } + get :view, params: { id: 1 }, format: :json + ``` + + *Kir Shatrov* + * Preserve default url options when generating URLs Fixes an issue that would cause default_url_options to be lost when |