aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/mime/accept_format_test.rb
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-10-22 20:33:32 +0900
committeryui-knk <spiketeika@gmail.com>2015-10-22 20:33:32 +0900
commit36005af64a0c233e7391688296b183acb73dc0c0 (patch)
tree67c32c241f2f25f7f0a7dfa4f20a50d6c1cfb74d /actionpack/test/controller/mime/accept_format_test.rb
parent3eda77f0eeeb479355b8845aa71cb0da1acd583d (diff)
downloadrails-36005af64a0c233e7391688296b183acb73dc0c0.tar.gz
rails-36005af64a0c233e7391688296b183acb73dc0c0.tar.bz2
rails-36005af64a0c233e7391688296b183acb73dc0c0.zip
Use sufficient a regexp anchor to check `@response.content_type.to_s`
This commit follows up of ea9bc06c9a47b839d5e2db94ba6bf7e29c8f0ae9. To check `@response.content_type.to_s` is ended with `"xml"`, to use `\z` is sufficient.
Diffstat (limited to 'actionpack/test/controller/mime/accept_format_test.rb')
0 files changed, 0 insertions, 0 deletions