Sha256: 16406d9a351c4498d01bf697d96bcb1364fdacff7dd05081d8bfbea30f8dae73
Contents?: true
Size: 617 Bytes
Versions: 10
Compression:
Stored size: 617 Bytes
Contents
require 'spec_helper' describe Pushbullet do describe '::api_token=' do before { described_class.api_token = nil } after { described_class.api_token = 'DhOX5Q8Fps9mq4g90yfrfioRPyo1qQRd' } context 'given an api_token' do let(:token) { 'nice_try' } it 'sets the Pushbullet api token' do expect { described_class.api_token = token }.to change { described_class.api_token }.from(nil).to(token) end end end describe '::client' do it 'returns a Pushbullet::Client' do expect(described_class.client).to be_a Pushbullet::Client end end end
Version data entries
10 entries across 8 versions & 2 rubygems