Skip to content

Commit a073ba2

Browse files
committed
fix hound
1 parent a6940e8 commit a073ba2

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

spec/fcm_spec.rb

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,7 @@
420420
context 'when #create_notification_key' do
421421
let(:valid_request_body) do
422422
default_valid_request_body.merge(
423-
{
424-
operation: 'create'
425-
}
423+
operation: 'create'
426424
)
427425
end
428426

@@ -450,10 +448,8 @@
450448
context 'when #add_notification_key' do
451449
let(:valid_request_body) do
452450
default_valid_request_body.merge(
453-
{
454-
operation: 'add',
455-
notification_key: notification_key
456-
}
451+
operation: 'add',
452+
notification_key: notification_key
457453
)
458454
end
459455

@@ -485,10 +481,8 @@
485481
context 'when #remove_notification_key' do
486482
let(:valid_request_body) do
487483
default_valid_request_body.merge(
488-
{
489-
operation: 'remove',
490-
notification_key: notification_key
491-
}
484+
operation: 'remove',
485+
notification_key: notification_key
492486
)
493487
end
494488

@@ -649,8 +643,4 @@
649643
stub_fcm_send_v1_request.should have_been_made.times(1)
650644
end
651645
end
652-
653-
pending 'subscribing to a topic' do
654-
# TODO
655-
end
656646
end

0 commit comments

Comments
 (0)