Sha256: dd00bde43d699b2a18a34fa5f952a161c9d2348d751c08cb8216c4441021f562

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

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

    subject(:push) {
      described_class.push(
        client,
        :device,
        nil,
        {
          file_name: 'Green',
          file_path: 'spec/fixtures/green.png',
          body:      'Color is green'
        }
      )
    }

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

Version data entries

1 entries across 1 versions & 1 rubygems

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