Sha256: ceb0c91e37e616bdc54748d85110e60eb5827d126b8af4ac2cf0f63e805b3d9d
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
require 'unit_spec_helper' describe Rpush::Client::ActiveRecord::Notification do let(:notification) { Rpush::Client::ActiveRecord::Notification.new } it 'allows assignment of many registration IDs' do notification.registration_ids = %w(a b) notification.registration_ids.should eq %w(a b) end it 'allows assignment of a single registration ID' do notification.registration_ids = 'a' notification.registration_ids.should eq ['a'] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rpush-2.0.0.beta2 | spec/unit/client/active_record/notification_spec.rb |
rpush-2.0.0.beta1 | spec/unit/client/active_record/notification_spec.rb |