Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/page/view_spec.rb')
-rw-r--r--qa/spec/page/view_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/spec/page/view_spec.rb b/qa/spec/page/view_spec.rb
index 3342b387ed1..1f89e8829b4 100644
--- a/qa/spec/page/view_spec.rb
+++ b/qa/spec/page/view_spec.rb
@@ -56,7 +56,7 @@ RSpec.describe QA::Page::View do
it 'returns an array of errors related to missing elements' do
expect(subject.errors).not_to be_empty
expect(subject.errors.first)
- .to match %r(Missing element `.*` in `.*/some/file.html` view)
+ .to match %r{Missing element `.*` in `.*/some/file.html` view}
end
end
end
@@ -65,7 +65,7 @@ RSpec.describe QA::Page::View do
it 'returns an error when it is not able to find the partial' do
expect(subject.errors).to be_one
expect(subject.errors.first)
- .to match %r(Missing view partial `.*/some/file.html`!)
+ .to match %r{Missing view partial `.*/some/file.html`!}
end
end
end