Sha256: 8c845829bad9d1b2b6674141ce801e0676cc32fcd26e66c31ffc810fa5545910

Contents?: true

Size: 416 Bytes

Versions: 9

Compression:

Stored size: 416 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper'

context "ResqueAps::Notification" do
  test "has a nice #inspect" do
    n = ResqueAps::Notification.new('application_name' => 'SomeApp', 'device_token' => 'aihdf08u2402hbdfquhiwr', 'payload' => '{"aps": { "alert": "hello"}}')
    assert_equal '#<ResqueAps::Notification "SomeApp", "aihdf08u2402hbdfquhiwr", "{\"aps\": { \"alert\": \"hello\"}}">', n.inspect
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
resque-aps-0.9.8 test/notification_test.rb
resque-aps-0.9.7 test/notification_test.rb
resque-aps-0.9.6 test/notification_test.rb
resque-aps-0.9.5 test/notification_test.rb
resque-aps-0.9.4 test/notification_test.rb
resque-aps-0.9.3 test/notification_test.rb
resque-aps-0.9.2 test/notification_test.rb
resque-aps-0.9.1 test/notification_test.rb
resque-aps-0.9.0 test/notification_test.rb