Commit b0d0c643 authored by Stan Hu's avatar Stan Hu

Merge branch '218029-master_broken_iterations' into 'master'

Fix flaky iterations_finder_spec

Closes #218029

See merge request gitlab-org/gitlab!32358
parents e8163573 f72b895b
......@@ -99,7 +99,7 @@ describe IterationsFinder do
end
it 'returns iterations which start before the timeframe' do
iteration = create(:iteration, :skip_future_date_validation, project: project_2, start_date: now - 5.days)
iteration = create(:iteration, :skip_future_date_validation, project: project_2, start_date: now - 5.days, due_date: now - 3.days)
params.merge!(start_date: now - 3.days, end_date: now - 2.days)
expect(subject).to match_array([iteration])
......
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