Feature: Rich Message Types (#610)
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com> Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
This commit is contained in:
10
spec/factories/bot_message/bot_message_select.rb
Normal file
10
spec/factories/bot_message/bot_message_select.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
FactoryBot.define do
|
||||
factory :bot_message_select, class: Hash do
|
||||
title { Faker::Book.name }
|
||||
value { Faker::Book.name }
|
||||
|
||||
initialize_with { attributes }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user