spec/pushpad/notification_spec.rb in pushpad-0.10.0 vs spec/pushpad/notification_spec.rb in pushpad-0.11.0
- old
+ new
@@ -57,10 +57,11 @@
body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
target_url: "http://example.com",
created_at: "2016-07-06T10:09:14.835Z",
ttl: 604800,
require_interaction: false,
+ urgent: false,
icon_url: "https://example.com/assets/icon.png",
scheduled_count: 2,
successfully_sent_count: 4,
opened_count: 1
}
@@ -110,10 +111,11 @@
body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
target_url: "http://example.com",
created_at: "2016-07-06T10:09:14.835Z",
ttl: 604800,
require_interaction: false,
+ urgent: false,
icon_url: "https://example.com/assets/icon.png",
scheduled_count: 2,
successfully_sent_count: 4,
opened_count: 1
}
@@ -275,10 +277,11 @@
target_url: "http://example.com",
icon_url: "http://example.com/assets/icon.png",
image_url: "http://example.com/assets/image.png",
ttl: 604800,
require_interaction: true,
+ urgent: true,
custom_data: "123",
custom_metrics: ["examples", "another_metric"],
actions: [
{
title: "My Button 1",
@@ -356,9 +359,10 @@
target_url: "http://example.com",
icon_url: "http://example.com/assets/icon.png",
image_url: "http://example.com/assets/image.png",
ttl: 604800,
require_interaction: true,
+ urgent: true,
custom_data: "123",
custom_metrics: ["examples", "another_metric"],
actions: [
{
title: "My Button 1",