@@ -1128,8 +1128,8 @@ Let us modify `test_should_create_article` test in `articles_controller_test.rb`
```ruby
test"should create article"do
assert_difference('Article.count')do
postarticles_url,params: {article: {body: 'Rails is awesome!',title: 'Hello Rails'}}
assert_difference("Article.count")do
postarticles_url,params: {article: {body: "Rails is awesome!",title: "Hello Rails"}}
end
assert_redirected_toarticle_path(Article.last)
...
...
@@ -1141,7 +1141,7 @@ Now you can try running all the tests and they should pass.
NOTE: If you followed the steps in the [Basic Authentication](getting_started.html#basic-authentication) section, you'll need to add authorization to every request header to get all the tests passing:
```ruby
postarticles_url,params: {article: {body: 'Rails is awesome!',title: 'Hello Rails'}},headers: {Authorization:ActionController::HttpAuthentication::Basic.encode_credentials('dhh','secret')}
postarticles_url,params: {article: {body: "Rails is awesome!",title: "Hello Rails"}},headers: {Authorization:ActionController::HttpAuthentication::Basic.encode_credentials("dhh","secret")}