Commit 3c07ce6e authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'sh-fix-flaky-releases-controller-spec' into 'master'

Fix flaky test in releases_controller_spec.rb

Closes #37372

See merge request gitlab-org/gitlab!21519
parents ff635b51 60cb71be
......@@ -167,7 +167,8 @@ describe Projects::ReleasesController do
end
describe 'GET #evidence' do
let!(:release) { create(:release, :with_evidence, project: project) }
let(:tag_name) { "v1.1.0-evidence" }
let!(:release) { create(:release, :with_evidence, project: project, tag: tag_name) }
let(:tag) { CGI.escape(release.tag) }
let(:format) { :json }
......
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