Chore: Switch from Carrierwave to ActiveStorage (#393)
This commit is contained in:
@@ -6,6 +6,7 @@ FactoryBot.define do
|
||||
page_access_token { SecureRandom.uuid }
|
||||
user_access_token { SecureRandom.uuid }
|
||||
page_id { SecureRandom.uuid }
|
||||
inbox
|
||||
account
|
||||
end
|
||||
end
|
||||
|
||||
12
spec/factories/facebook_message/incoming_fb_text_message.rb
Normal file
12
spec/factories/facebook_message/incoming_fb_text_message.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
FactoryBot.define do
|
||||
factory :incoming_fb_text_message, class: Hash do
|
||||
sender { { id: '3383290475046708' } }
|
||||
recipient { { id: '117172741761305' } }
|
||||
message { { mid: 'm_KXGKDUpO6xbVdAmZFBVpzU1AhKVJdAIUnUH4cwkvb_K3iZsWhowDRyJ_DcowEpJjncaBwdCIoRrixvCbbO1PcA', text: 'facebook message' } }
|
||||
text { 'facebook message' }
|
||||
|
||||
initialize_with { attributes }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user