spec/spec_helper.rb in notifiable-rails-0.11.0 vs spec/spec_helper.rb in notifiable-rails-0.12.0
- old
+ new
@@ -39,10 +39,10 @@
DatabaseCleaner.clean
}
end
class MockNotifier < Notifiable::NotifierBase
- def enqueue(notification, device_token)
+ def enqueue(notification, device_token, params)
processed(notification, device_token, 200)
end
end
Notifiable.notifier_classes[:mock] = MockNotifier