File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 420
420
context 'when #create_notification_key' do
421
421
let ( :valid_request_body ) do
422
422
default_valid_request_body . merge (
423
- {
424
- operation : 'create'
425
- }
423
+ operation : 'create'
426
424
)
427
425
end
428
426
450
448
context 'when #add_notification_key' do
451
449
let ( :valid_request_body ) do
452
450
default_valid_request_body . merge (
453
- {
454
- operation : 'add' ,
455
- notification_key : notification_key
456
- }
451
+ operation : 'add' ,
452
+ notification_key : notification_key
457
453
)
458
454
end
459
455
485
481
context 'when #remove_notification_key' do
486
482
let ( :valid_request_body ) do
487
483
default_valid_request_body . merge (
488
- {
489
- operation : 'remove' ,
490
- notification_key : notification_key
491
- }
484
+ operation : 'remove' ,
485
+ notification_key : notification_key
492
486
)
493
487
end
494
488
649
643
stub_fcm_send_v1_request . should have_been_made . times ( 1 )
650
644
end
651
645
end
652
-
653
- pending 'subscribing to a topic' do
654
- # TODO
655
- end
656
646
end
You can’t perform that action at this time.
0 commit comments