mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Fix RuboCop offenses in ThemesTest#test_old_theme_compatibility introduced in r23173 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@23176 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5a03eef08b
commit
47c21fa217
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user