chore: fix specs

This commit is contained in:
Muhsin Keloth
2024-02-08 15:47:31 +05:30
parent 117a1405e5
commit 377aeb8087
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -42,8 +42,6 @@ class Channel::FacebookPage < ApplicationRecord
first_name = name_parts[:first_name]
last_name = name_parts[:last_name]
@contact_inbox = ::ContactInboxWithContactBuilder.new({
name: first_name,
last_name: last_name,
source_id: instagram_id,
inbox: inbox,
contact_attributes: { name: first_name, last_name: last_name }
+3
View File
@@ -35,6 +35,9 @@
# rubocop:enable Layout/LineLength
# Notes
# TODO: We are considering the "name" as "first_name". We will update it to "first_name" in the future.
class Contact < ApplicationRecord
include Avatarable
include AvailabilityStatusable