Skip to content

Commit a9c8d31

Browse files
author
Rafael Marinho
committed
fix missing payload
1 parent 280a8bf commit a9c8d31

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎spec/campaign_spec.rb‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,11 @@ def loop_times(times)
265265
# Update using client method
266266
updated = @client.update_campaign(
267267
campaign_id,
268+
message_template: {
269+
text: 'Hello'
270+
},
271+
sender_id: sender_id,
272+
user_ids: [receiver_id],
268273
name: 'updated via client'
269274
)
270275
expect(updated.status_code).to be 200

0 commit comments

Comments
 (0)