test/resque-web_test.rb in resque-aps-0.9.11 vs test/resque-web_test.rb in resque-aps-0.9.12
- old
+ new
@@ -27,10 +27,10 @@
context "on GET to /aps/some_ivar_application" do
setup do
Resque.redis.flushall
Resque.create_aps_application(:some_ivar_application, nil, nil)
- n = Resque::Plugins::Aps::Notification.new('application_name' => 'some_ivar_application', 'device_token' => 'aihdf08u2402hbdfquhiwr', 'payload' => '{"aps": { "alert": "hello"}}')
+ n = Resque::Plugins::Aps::Notification.new('application_name' => 'some_ivar_application', 'device_token' => '3ECA0F9A3405B980A88A61A1556AF8B7F1DF5F7F109E1476A781E8220C4FE561', 'payload' => '{"aps": { "alert": "hello"}}')
assert Resque.enqueue_aps(:some_ivar_application, n)
assert Resque.enqueue_aps(:some_ivar_application, n)
assert Resque.enqueue_aps(:some_ivar_application, n)
assert Resque.enqueue_aps(:some_ivar_application, n)
get "/aps/some_ivar_application"