Sha256: 05d3e8ae9ea0dad1d19d60c2cada0f16c2113fd371fa3a8d01e5f0ff6918689f
Contents?: true
Size: 374 Bytes
Versions: 28
Compression:
Stored size: 374 Bytes
Contents
require 'unit_spec_helper' describe Rpush::Client::ActiveRecord::Apns::Feedback do it 'validates the format of the device_token' do notification = Rpush::Client::ActiveRecord::Apns::Feedback.new(device_token: "{$%^&*()}") expect(notification.valid?).to be_falsey expect(notification.errors[:device_token]).to include('is invalid') end end if active_record?
Version data entries
28 entries across 28 versions & 2 rubygems