Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
29
research/chatwoot/spec/factories/clearbit_response.rb
Normal file
29
research/chatwoot/spec/factories/clearbit_response.rb
Normal file
@@ -0,0 +1,29 @@
|
||||
# spec/factories/response_bodies.rb
|
||||
FactoryBot.define do
|
||||
factory :clearbit_combined_response, class: Hash do
|
||||
skip_create
|
||||
|
||||
initialize_with do
|
||||
{
|
||||
'person' => {
|
||||
'name' => {
|
||||
'fullName' => 'John Doe'
|
||||
},
|
||||
'avatar' => 'https://example.com/avatar.png'
|
||||
},
|
||||
'company' => {
|
||||
'name' => 'Doe Inc.',
|
||||
'timeZone' => 'Asia/Kolkata',
|
||||
'category' => {
|
||||
'sector' => 'Technology',
|
||||
'industryGroup' => 'Software',
|
||||
'industry' => 'Software'
|
||||
},
|
||||
'metrics' => {
|
||||
'employees' => '1-10'
|
||||
}
|
||||
}
|
||||
}.to_json
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user