Sha256: be70eb8b3470d6761b7c7bb90c4169e756619158ac0169010a5716febe5a822e
Contents?: true
Size: 482 Bytes
Versions: 23
Compression:
Stored size: 482 Bytes
Contents
require 'unit_spec_helper' describe Rpush::Client::ActiveRecord::Wns::BadgeNotification do let(:notification) do notif = Rpush::Client::ActiveRecord::Wns::BadgeNotification.new notif.app = Rpush::Client::ActiveRecord::Wns::App.new(name: "aname") notif.uri = 'https://db5.notify.windows.com/?token=TOKEN' notif.badge = 42 notif end it 'should allow a notification without data' do expect(notification.valid?).to be(true) end end if active_record?
Version data entries
23 entries across 23 versions & 2 rubygems