Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

extract local value

  • Loading branch information...
commit 3856d1fb97612d01c82f6864ccc9c16010fc6f3f 1 parent 5eed290
niku authored
3  spec/apn_on_rails/app/models/apn/group_notification_spec.rb
@@ -46,9 +46,10 @@
46 46
       subject {
47 47
         noty = APN::GroupNotification.first
48 48
         noty.custom_properties = nil
49  
-        device = DeviceFactory.new(:token => '5gxadhy6 6zmtxfl6 5zpbcxmw ez3w7ksf qscpr55t trknkzap 7yyt45sc g6jrw7qz')
  49
+        device = DeviceFactory.new(:token => token)
50 50
         noty.message_for_sending(device)
51 51
       }
  52
+      let(:token) { '5gxadhy6 6zmtxfl6 5zpbcxmw ez3w7ksf qscpr55t trknkzap 7yyt45sc g6jrw7qz' }
52 53
 
53 54
       it do
54 55
         subject.should == fixture_value('message_for_sending.bin')

0 notes on commit 3856d1f

Please sign in to comment.
Something went wrong with that request. Please try again.