diff options
author | Go MAEDA <maeda@farend.jp> | 2024-11-02 04:07:22 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-11-02 04:07:22 +0000 |
commit | 47c21fa2171a408f053b3344cbe9b17bb7492194 (patch) | |
tree | 32e4e01dcd4800d20039666a95dae1b53f7cf0d6 /test/integration/lib/redmine | |
parent | 5a03eef08bd39da1d9da40c04c8bf426df6681a3 (diff) | |
download | redmine-47c21fa2171a408f053b3344cbe9b17bb7492194.tar.gz redmine-47c21fa2171a408f053b3344cbe9b17bb7492194.zip |
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
Diffstat (limited to 'test/integration/lib/redmine')
-rw-r--r-- | test/integration/lib/redmine/themes_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |