spec/unit/client/shared/apns/notification.rb in rpush-7.0.1 vs spec/unit/client/shared/apns/notification.rb in rpush-8.0.0

- old
+ new

@@ -163,24 +163,9 @@ expect(notification.as_json['aps']['content-available']).to eq 1 expect(notification.as_json['hi']).to eq 'mom' end end - describe 'content_available?' do - context 'if not set' do - it 'should be false' do - expect(notification.content_available?).to be_falsey - end - end - - context 'if set' do - it 'should be true' do - notification.content_available = true - expect(notification.content_available?).to be_truthy - end - end - end - describe 'url-args' do it 'includes url-args in the payload' do notification.url_args = ['url-arg-1'] expect(notification.as_json['aps']['url-args']).to eq ['url-arg-1'] end