Commit 93ee6811 authored by Sean McGivern's avatar Sean McGivern Committed by Alejandro Rodríguez

Merge branch '24772-fix-transient-failing-spec' into 'master'

Fix a transient spec failure

Closes #24772 

See merge request !7825
parent 212cd962
...@@ -40,7 +40,7 @@ describe 'cycle analytics events' do ...@@ -40,7 +40,7 @@ describe 'cycle analytics events' do
expect(json_response['events']).not_to be_empty expect(json_response['events']).not_to be_empty
first_mr_iid = MergeRequest.order(created_at: :desc).pluck(:iid).first.to_s first_mr_iid = project.merge_requests.order(id: :desc).pluck(:iid).first.to_s
expect(json_response['events'].first['iid']).to eq(first_mr_iid) expect(json_response['events'].first['iid']).to eq(first_mr_iid)
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