feat: IP lookup (#1315)
- feature to store contact IP for accounts - IP lookup through geocoder gem - ability to do IP lookup through external APIs - add commit hook to prevent push to develop and master - migrations to fix default values for jsonb columns
This commit is contained in:
@@ -377,7 +377,7 @@ RSpec.describe Conversation, type: :model do
|
||||
let(:conversation) { create(:conversation) }
|
||||
let(:expected_data) do
|
||||
{
|
||||
additional_attributes: nil,
|
||||
additional_attributes: {},
|
||||
meta: {
|
||||
sender: conversation.contact.push_event_data,
|
||||
assignee: conversation.assignee
|
||||
|
||||
@@ -13,7 +13,7 @@ RSpec.describe Conversations::EventDataPresenter do
|
||||
describe '#push_data' do
|
||||
let(:expected_data) do
|
||||
{
|
||||
additional_attributes: nil,
|
||||
additional_attributes: {},
|
||||
meta: {
|
||||
sender: conversation.contact.push_event_data,
|
||||
assignee: conversation.assignee
|
||||
|
||||
Reference in New Issue
Block a user