summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/reports/test_case_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/ci/reports/test_case_spec.rb')
-rw-r--r--spec/lib/gitlab/ci/reports/test_case_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/reports/test_case_spec.rb b/spec/lib/gitlab/ci/reports/test_case_spec.rb
index 668a475514e..d21359368b8 100644
--- a/spec/lib/gitlab/ci/reports/test_case_spec.rb
+++ b/spec/lib/gitlab/ci/reports/test_case_spec.rb
@@ -66,7 +66,7 @@ RSpec.describe Gitlab::Ci::Reports::TestCase, :aggregate_failures do
end
it '#attachment_url' do
- expect(attachment_test_case.attachment_url).to match(/file\/some\/path.png/)
+ expect(attachment_test_case.attachment_url).to match(%r{file/some/path.png})
end
end