Sha256: 92cfb147eb30a55a53a31e4bf244b608f011c13255dceec9fe9e1f6cd3476673

Contents?: true

Size: 474 Bytes

Versions: 1

Compression:

Stored size: 474 Bytes

Contents

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

    subject(:push) {
      described_class.push(
        client,
        :device,
        nil,
        {title: 'title', body: 'body'}
      )
    }

    specify do
      expect(push).to               be_kind_of(Washbullet::Push)
      expect(push.type).to          eq('note')
      expect(push.body['title']).to eq('title')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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