diff options
author | Matthew Draper <matthew@trebex.net> | 2017-08-14 23:48:21 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 23:48:21 +0930 |
commit | a0bd13fca347d7d022cb96d46a2a9a7d343ab0a5 (patch) | |
tree | b270a6f17bc3e0f191eae3b9b44eda55d824e2d2 /activestorage/test/controllers/blobs_controller_test.rb | |
parent | c4434171cdfda666ff3f164b680486d7cb2c5f3c (diff) | |
parent | 2b6e85c1900138d8f1b07575abf187e4a8aee502 (diff) | |
download | rails-a0bd13fca347d7d022cb96d46a2a9a7d343ab0a5.tar.gz rails-a0bd13fca347d7d022cb96d46a2a9a7d343ab0a5.tar.bz2 rails-a0bd13fca347d7d022cb96d46a2a9a7d343ab0a5.zip |
Merge pull request #30250 from koic/should_escape_regexp_wildcard_character
Should escape regexp wildcard character `.`
Diffstat (limited to 'activestorage/test/controllers/blobs_controller_test.rb')
-rw-r--r-- | activestorage/test/controllers/blobs_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/test/controllers/blobs_controller_test.rb b/activestorage/test/controllers/blobs_controller_test.rb index d682893e1d..c37b9c8a10 100644 --- a/activestorage/test/controllers/blobs_controller_test.rb +++ b/activestorage/test/controllers/blobs_controller_test.rb @@ -11,7 +11,7 @@ class ActiveStorage::BlobsControllerTest < ActionDispatch::IntegrationTest test "showing blob utilizes browser caching" do get rails_blob_url(@blob) - assert_redirected_to(/racecar.jpg/) + assert_redirected_to(/racecar\.jpg/) assert_equal "max-age=300, private", @response.headers["Cache-Control"] end end |