From 59719941e70040d2e28a4317400dd7b8103c1fdb Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 26 Feb 2021 09:11:10 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- spec/helpers/timeboxes_helper_spec.rb | 9 --------- 1 file changed, 9 deletions(-) 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