feat: Macros CRUD api (#5047)

This commit is contained in:
Tejaswini Chile
2022-07-19 17:37:00 +05:30
committed by GitHub
parent c4b2005425
commit 0cee42a9f9
17 changed files with 460 additions and 2 deletions

11
spec/factories/macros.rb Normal file
View File

@@ -0,0 +1,11 @@
FactoryBot.define do
factory :macro do
account
name { 'wrong_message_actions' }
actions do
[
{ 'action_name' => 'add_label', 'action_params' => %w[wrong_chat] }
]
end
end
end