diff --git a/spec/helpers/milestones_helper_spec.rb b/spec/helpers/milestones_helper_spec.rb
index 77a4ba305bb..87653631c28 100644
--- a/spec/helpers/milestones_helper_spec.rb
+++ b/spec/helpers/milestones_helper_spec.rb
@@ -50,10 +50,10 @@ describe MilestonesHelper do
describe '#milestone_remaining_days' do
context 'when less than 31 days remaining' do
- let(:milestone_remaining) { milestone_remaining_days(build_stubbed(:milestone, due_date: 12.days.from_now)) }
+ let(:milestone_remaining) { milestone_remaining_days(build_stubbed(:milestone, due_date: 12.2.days.from_now)) }
it 'returns days remaining' do
- expect(milestone_remaining).to eq("11 days remaining")
+ expect(milestone_remaining).to eq("12 days remaining")
end
end