Commit bd10083a authored by Dylan Griffith's avatar Dylan Griffith

Merge branch '325048-fix-iteration-cadence-spec' into 'master'

Use a fixed start date for cadence update spec

See merge request gitlab-org/gitlab!56829
parents 16ec2775 04b7d4f8
...@@ -7,7 +7,7 @@ RSpec.describe Iterations::Cadences::UpdateService do ...@@ -7,7 +7,7 @@ RSpec.describe Iterations::Cadences::UpdateService do
let_it_be(:group, refind: true) { create(:group) } let_it_be(:group, refind: true) { create(:group) }
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let_it_be(:iteration_cadence, refind: true) { create(:iterations_cadence, group: group, duration_in_weeks: 1, iterations_in_advance: 2) } let_it_be(:iteration_cadence, refind: true) { create(:iterations_cadence, group: group, start_date: Date.today, duration_in_weeks: 1, iterations_in_advance: 2) }
let(:params) do let(:params) do
{ {
......
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