From b1e1448b8af6f43f87137dc7c33a79e62306f9c5 Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Mon, 2 Feb 2026 23:15:49 -0800 Subject: [PATCH] fix(specs): avoid raw sql in contact inbox spec --- spec/models/contact_inbox_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/contact_inbox_spec.rb b/spec/models/contact_inbox_spec.rb index e63dede76..b19d58934 100644 --- a/spec/models/contact_inbox_spec.rb +++ b/spec/models/contact_inbox_spec.rb @@ -28,7 +28,7 @@ RSpec.describe ContactInbox do obj.reload # ensure the column is nil in database - expect(ContactInbox.where(id: obj.id).pick(:pubsub_token)).to be_nil + expect(described_class.where(id: obj.id).pick(:pubsub_token)).to be_nil new_token = obj.pubsub_token obj.update(source_id: '234234323')