mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-05-26 01:49:15 +00:00
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…
x
Reference in New Issue
Block a user