Revert "chore: Upgrade Rails to 7.2.2 and update Gemfile dependencies (#11037)"
This reverts commit ef6ba8aabd.
This commit is contained in:
@@ -28,7 +28,8 @@ RSpec.describe ContactInbox do
|
||||
obj.reload
|
||||
|
||||
# ensure the column is nil in database
|
||||
expect(described_class.where(id: obj.id).pick(:pubsub_token)).to be_nil
|
||||
results = ActiveRecord::Base.connection.execute('Select * from contact_inboxes;')
|
||||
expect(results.first['pubsub_token']).to be_nil
|
||||
|
||||
new_token = obj.pubsub_token
|
||||
obj.update(source_id: '234234323')
|
||||
|
||||
Reference in New Issue
Block a user