fix(specs): avoid raw sql in contact inbox spec

This commit is contained in:
Sojan Jose
2026-02-02 23:15:49 -08:00
parent c837dd5cb7
commit b1e1448b8a
+1 -1
View File
@@ -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')