diff options
author | Sharang Dashputre <sharang.d@gmail.com> | 2019-03-19 16:57:32 +0530 |
---|---|---|
committer | Sharang Dashputre <sharang.d@gmail.com> | 2019-03-19 16:57:32 +0530 |
commit | e4401c6436ed223a37a4cb95651b34c0e006b1a7 (patch) | |
tree | 02234b200575ffd57be49b3ef5fce2c647ec2fe4 | |
parent | 6e94127dd21271f3fcebc865c23974a75de20f3c (diff) | |
download | rails-e4401c6436ed223a37a4cb95651b34c0e006b1a7.tar.gz rails-e4401c6436ed223a37a4cb95651b34c0e006b1a7.tar.bz2 rails-e4401c6436ed223a37a4cb95651b34c0e006b1a7.zip |
Fix a ContentNegotiation test description
-rw-r--r-- | actionpack/test/controller/new_base/content_negotiation_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/new_base/content_negotiation_test.rb b/actionpack/test/controller/new_base/content_negotiation_test.rb index 6de91c57b7..00b2798aeb 100644 --- a/actionpack/test/controller/new_base/content_negotiation_test.rb +++ b/actionpack/test/controller/new_base/content_negotiation_test.rb @@ -25,7 +25,7 @@ module ContentNegotiation assert_body "Hello world text/html!" end - test "A js or */* Accept header on xhr will return HTML" do + test "A js or */* Accept header on xhr will return JavaScript" do get "/content_negotiation/basic/hello", headers: { "HTTP_ACCEPT" => "text/javascript, */*" }, xhr: true assert_body "Hello world text/javascript!" end |