diff --git a/test/integration/lib/redmine/themes_test.rb b/test/integration/lib/redmine/themes_test.rb index 7dc6b8df0..10cfac660 100644 --- a/test/integration/lib/redmine/themes_test.rb +++ b/test/integration/lib/redmine/themes_test.rb @@ -117,9 +117,9 @@ class ThemesTest < Redmine::IntegrationTest Rails.application.assets.load_path.clear_cache asset = Rails.application.assets.load_path.find('themes/foo_theme/application.css') - get "/assets/#{asset.digested_path.to_s}" + get "/assets/#{asset.digested_path}" assert_response :success - assert_match %r{url\(\"/assets/application-\w+\.css\"\)}, response.body + assert_match %r{url\("/assets/application-\w+\.css"\)}, response.body end end