DEV: use eq_time which allows for 1ms fidelity

DEV: use eq_time which allows for 1ms fidelity

This correct the specs due to changes introduced in 9ebabc1d

diff --git a/spec/integration/solved_spec.rb b/spec/integration/solved_spec.rb
index 856bce0..845af00 100644
--- a/spec/integration/solved_spec.rb
+++ b/spec/integration/solved_spec.rb
@@ -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

GitHub sha: 549c3d33

1 Like