Sha256: 11075f855e4d12752a09b9c7206f8e5e53f43a3cae435c7120a420f0c72602a7

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

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

    subject(:contacts) { client.contacts }

    specify 'Get own active contacts' do
      expect(contacts.first).to be_kind_of(Washbullet::Contact)
      expect(
        contacts.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/contacts_spec.rb