Sha256: efd0bb6448804b42f3caa4c56c0f3fe91ec4960354189b1e50657a841c4a97e8

Contents?: true

Size: 449 Bytes

Versions: 8

Compression:

Stored size: 449 Bytes

Contents

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
resque-aps-0.9.17 test/notification_test.rb
resque-aps-0.9.15 test/notification_test.rb
resque-aps-0.9.14 test/notification_test.rb
resque-aps-0.9.13 test/notification_test.rb
resque-aps-0.9.12 test/notification_test.rb
resque-aps-0.9.11 test/notification_test.rb
resque-aps-0.9.10 test/notification_test.rb
resque-aps-0.9.9 test/notification_test.rb