diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/template/sprockets_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/sprockets_helper_test.rb b/actionpack/test/template/sprockets_helper_test.rb index 55c5bcf1b1..ad57bbd96c 100644 --- a/actionpack/test/template/sprockets_helper_test.rb +++ b/actionpack/test/template/sprockets_helper_test.rb @@ -271,7 +271,7 @@ class SprocketsHelperTest < ActionView::TestCase Rails.application.config.assets.digests = {'logo.png' => 'logo-d1g3st.png'} @config.assets.digest = false - assert_match %r{/assets/logo.png}, + assert_equal '/assets/logo.png', asset_path("logo.png") end end |