spec/zeppelin_spec.rb in zeppelin-0.8.2 vs spec/zeppelin_spec.rb in zeppelin-0.8.3
- old
+ new
@@ -342,12 +342,14 @@
}.to raise_error(Zeppelin::ClientError)
end
end
describe '#batch_push' do
+ let(:device_token) { '123456789' }
+
let(:message1) {
{
- :device_tokens => [@device_token],
+ :device_tokens => [device_token],
:aps => { :alert => 'Hello from Urban Airship!' }
}
}
let(:message2) {