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