From 47c21fa2171a408f053b3344cbe9b17bb7492194 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 2 Nov 2024 04:07:22 +0000 Subject: 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 --- test/integration/lib/redmine/themes_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/integration/lib/redmine') 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 -- cgit v1.2.3