Sha256: 12fb9692a8df3d4cbaed64ad696f7eb7099e4d7ccf6bfd83fcbdeea5d39420ef
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
require "unit_spec_helper" describe Rpush::Notification do let(:notification) { Rpush::Notification.new } it 'allows assignment of many registration IDs' do notification.registration_ids = ['a', 'b'] notification.registration_ids.should eq ['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-1.0.0-java | spec/unit/notification_spec.rb |
rpush-1.0.0 | spec/unit/notification_spec.rb |