Sha256: 833fd0de5cfe2c25d9bbdf061794130c26585a5527b0035557482e0253575e4a

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

RSpec.describe Washbullet::API::Devices do
  describe '#devices', :vcr do
    let(:client) { Washbullet::Client.new(test_api_key) }

    subject(:devices) { client.devices }

    specify 'Get own active devices' do
      expect(devices.first).to be_kind_of(Washbullet::Device)
      expect(
        devices.all? {|device| device.body['active'] }
      ).to be_truthy
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
washbullet-0.4.0 spec/washbullet/api/devices_spec.rb