Commit d1f9e392 authored by Rémy Coutable's avatar Rémy Coutable

Fix a flaky spec that was time-sensitive

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 1286985c
...@@ -3854,6 +3854,10 @@ describe Ci::Build do ...@@ -3854,6 +3854,10 @@ describe Ci::Build do
set(:build) { create(:ci_build, project: project) } set(:build) { create(:ci_build, project: project) }
let(:path) { 'other_artifacts_0.1.2/another-subdirectory/banana_sample.gif' } let(:path) { 'other_artifacts_0.1.2/another-subdirectory/banana_sample.gif' }
around do |example|
Timecop.freeze { example.run }
end
before do before do
stub_artifacts_object_storage stub_artifacts_object_storage
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