DEV: use eq_time which allows for 1ms fidelity

This correct the specs due to changes introduced in 9ebabc1d
This commit is contained in:
Sam Saffron 2019-03-28 17:41:27 +11:00
parent 3297d152a7
commit 549c3d339a
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ RSpec.describe "Managing Posts solved status" do
].to_i).to eq(topic.public_topic_timer.id)
expect(topic.public_topic_timer.execute_at)
.to eq(Time.zone.now + 2.hours)
.to eq_time(Time.zone.now + 2.hours)
expect(topic.public_topic_timer.based_on_last_post).to eq(true)
end