DEV: use eq_time which allows for 1ms fidelity
This correct the specs due to changes introduced in 9ebabc1d
This commit is contained in:
parent
3297d152a7
commit
549c3d339a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue