From ede4dd933c97907c74aaa60d0c5acdad8858cd82 Mon Sep 17 00:00:00 2001 From: osc-bot <78549874+osc-bot@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:38:23 -0400 Subject: [PATCH] lint a random file (#3742) --- apps/dashboard/test/helpers/application_helper_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/test/helpers/application_helper_test.rb b/apps/dashboard/test/helpers/application_helper_test.rb index e253c7a9a9..7d2c335a21 100644 --- a/apps/dashboard/test/helpers/application_helper_test.rb +++ b/apps/dashboard/test/helpers/application_helper_test.rb @@ -116,7 +116,7 @@ def expected_js_paths(js_file_config, type: '') end end - test "icon_tag should should render icon tag for known icon schemas" do + test 'icon_tag should should render icon tag for known icon schemas' do @user_configuration = stub({ public_url: Pathname.new('/public') }) ['fa', 'fas', 'far', 'fab', 'fal'].each do |icon_schema| image_uri = URI("#{icon_schema}://icon_name") @@ -128,7 +128,7 @@ def expected_js_paths(js_file_config, type: '') end end - test "icon_tag should should render image tag prefixing relative_url_root if image URI does not start with public_url" do + test 'icon_tag should should render image tag prefixing relative_url_root if image URI does not start with public_url' do @user_configuration = stub({ public_url: Pathname.new('/public') }) config.stubs(:relative_url_root).returns('/prefix') image_uri = URI('/path/to/image.png') @@ -140,7 +140,7 @@ def expected_js_paths(js_file_config, type: '') assert_equal '/prefix/path/to/image.png', image_html['src'] end - test "icon_tag should should render image tag without prefixing relative_url_root if image URI starts with public_url" do + test 'icon_tag should should render image tag without prefixing relative_url_root if image URI starts with public_url' do @user_configuration = stub({ public_url: Pathname.new('/public') }) config.stubs(:relative_url_root).returns('/prefix') image_uri = URI('/public/path/image.png')