Sha256: 69004d2cac49af752b92716754410c466a5dff3e46f0667b4dacbcfd1b3a3868

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 Bytes

Contents

RSpec.describe Washbullet::Pushable::Link do
  describe '.push', :vcr do
    let(:client) { Washbullet::Client.new(test_api_key) }

    subject(:push) {
      described_class.push(
        client,
        :device,
        nil,
        {
          title: 'Check it out',
          url:   'https://www.pushbullet.com',
          body:  'Pushbullet is awesome'
        }
      )
    }

    specify do
      expect(push).to      be_kind_of(Washbullet::Push)
      expect(push.type).to eq('link')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
washbullet-0.4.0 spec/washbullet/pushable/link_spec.rb