aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-11 22:42:57 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-11 22:47:17 +0100
commit3b94c38a7f861cb7683dce6fe535c956a20e6359 (patch)
tree7c970482776b0fd6acc198a60e82c07106c58015 /actionpack
parent77bbf1e905f2ff82d715bac3f0b255cf3ade1d97 (diff)
downloadrails-3b94c38a7f861cb7683dce6fe535c956a20e6359.tar.gz
rails-3b94c38a7f861cb7683dce6fe535c956a20e6359.tar.bz2
rails-3b94c38a7f861cb7683dce6fe535c956a20e6359.zip
[ci skip] Fix syntax error in CHANGELOG example.
Can't code for shit.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index a26e1f70a8..bf964d06e9 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -26,7 +26,7 @@
class ApiTest < ActionDispatch::IntegrationTest
test 'creates articles' do
assert_difference -> { Article.count } do
- post articles_path, params: { article: { title: 'Ahoy!' } }, as: :json
+ post articles_path, { article: { title: 'Ahoy!' } }, as: :json
end
assert_equal({ id: Article.last.id, title: 'Ahoy!' }, response.parsed_body)