Commit fbbec9b5 authored by Dallas Reedy's avatar Dallas Reedy

Fix unrelated spec failure

Failing for me locally, at least, with a Rational (`(31/1)`) value,
rather than the expected Integer (`30`) value.
parent 6a40a2e9
......@@ -584,7 +584,7 @@ RSpec.describe ApplicationSetting do
end
it 'is in days_from_now' do
expect(subject.to_date - Date.today).to eq days_from_now
expect((subject.to_date - Date.current).to_i).to eq days_from_now
end
end
......
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