Commit 081dfc45 authored by Sean McGivern's avatar Sean McGivern

Merge branch '31437-fix-transient-failure' into 'master'

Don't expect underlying DB data to be updated in feature spec

Closes #31437

See merge request !10934
parents 99051546 3c148586
...@@ -48,8 +48,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps ...@@ -48,8 +48,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end end
step 'I should see closed merge request "Bug NS-04"' do step 'I should see closed merge request "Bug NS-04"' do
merge_request = MergeRequest.find_by!(title: "Bug NS-04") expect(page).to have_content "Bug NS-04"
expect(merge_request).to be_closed
expect(page).to have_content "Closed by" expect(page).to have_content "Closed by"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment