diff --git a/spec/helpers/timeboxes_helper_spec.rb b/spec/helpers/timeboxes_helper_spec.rb index 94e997f7a65..9cbed7668ac 100644 --- a/spec/helpers/timeboxes_helper_spec.rb +++ b/spec/helpers/timeboxes_helper_spec.rb @@ -58,15 +58,6 @@ RSpec.describe TimeboxesHelper do it { expect(result_for(start_date: yesterday)).to eq("started on #{yesterday_formatted}") } it { expect(result_for(start_date: yesterday, due_date: tomorrow)).to eq("#{yesterday_formatted}–#{tomorrow_formatted}") } end - - context 'iteration' do - # Iterations always have start and due dates, so only A-B format is expected - it 'formats properly' do - iteration = build(:iteration, start_date: yesterday, due_date: tomorrow) - - expect(timebox_date_range(iteration)).to eq("#{yesterday_formatted}–#{tomorrow_formatted}") - end - end end describe '#milestone_counts' do