chore: upgrade to rails 7.1 and ruby 3.4 (#3457)

This commit is contained in:
Adam Cooke
2025-10-01 16:42:39 +01:00
committed by GitHub
parent 9c5f96ae90
commit ab6d4430ba
14 changed files with 184 additions and 138 deletions
@@ -59,8 +59,11 @@ RSpec.describe WebhookDeliveryService do
end
it "updates the last used at time on the webhook" do
service.call
expect(webhook.reload.last_used_at).to be_within(1.second).of(Time.current)
frozen_time = Time.current.change(usec: 0)
Timecop.freeze(frozen_time) do
service.call
expect(webhook.reload.last_used_at).to eq(frozen_time)
end
end
end