diff options
author | Pedro Moreira da Silva <pedro@gitlab.com> | 2017-02-24 17:07:29 +0000 |
---|---|---|
committer | Pedro Moreira da Silva <pedro@gitlab.com> | 2017-02-24 17:07:43 +0000 |
commit | 2ca2e06269d40703281c7af45f9e1e6c3da2012d (patch) | |
tree | e532de35e2a21fcada3b2fd2047ba620dbb979e9 /spec/helpers/milestones_helper_spec.rb | |
parent | 3a1fff9c62c8ebbd5ecd7ede2c7960cd048a7c48 (diff) | |
download | gitlab-ce-2ca2e06269d40703281c7af45f9e1e6c3da2012d.tar.gz |
Fix specs
Diffstat (limited to 'spec/helpers/milestones_helper_spec.rb')
-rw-r--r-- | spec/helpers/milestones_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/milestones_helper_spec.rb b/spec/helpers/milestones_helper_spec.rb index 14a95479339..68b20a1e4fc 100644 --- a/spec/helpers/milestones_helper_spec.rb +++ b/spec/helpers/milestones_helper_spec.rb @@ -17,7 +17,7 @@ describe MilestonesHelper do it { expect(result_for(due_date: yesterday)).to eq("expired on #{yesterday_formatted}") } it { expect(result_for(start_date: tomorrow)).to eq("starts on #{tomorrow_formatted}") } 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}") } + it { expect(result_for(start_date: yesterday, due_date: tomorrow)).to eq("#{yesterday_formatted}–#{tomorrow_formatted}") } end describe '#milestone_counts' do |