spec/unit/client/redis/apns2/notification_spec.rb in rpush-5.4.0 vs spec/unit/client/redis/apns2/notification_spec.rb in rpush-6.0.0

- old
+ new

@@ -5,10 +5,10 @@ describe Rpush::Client::Redis::Apns2::Notification do it_behaves_like 'Rpush::Client::Apns::Notification' it "should validate the length of the binary conversion of the notification" do notification = described_class.new - notification.app = Rpush::Apns2::App.create(name: 'test', environment: 'development') + notification.app = Rpush::Apns2::App.create(name: 'test', environment: 'development', certificate: TEST_CERT) notification.device_token = "a" * 108 notification.alert = "" notification.alert << "a" until notification.payload.bytesize == 4096 expect(notification.valid?).to be_truthy