Sha256: c095ef91ec0834c2721e7fb2c455d4f3b2934892e94de594b3a54e336731cfeb

Contents?: true

Size: 393 Bytes

Versions: 17

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true
require_relative 'spec_helper.rb'

describe 'Airbnb specifications' do
  before do
    VCR.insert_cassette CASSETTE_FILE_3, record: :new_episodes
  end

  after do
    VCR.eject_cassette
  end

  it 'should get the room info of a location' do
    rooms_info = Airbnb::RoomsInfo.find('Ostuni')
    rooms = rooms_info.rooms
    rooms.length.must_be :>, 0
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
movlog-0.4.2 spec/airbnb_spec.rb
movlog-0.4.1 spec/airbnb_spec.rb
movlog-0.4.0 spec/airbnb_spec.rb
movlog-0.3.15 spec/airbnb_spec.rb
movlog-0.3.14 spec/airbnb_spec.rb
movlog-0.3.13 spec/airbnb_spec.rb
movlog-0.3.12 spec/airbnb_spec.rb
movlog-0.3.11 spec/airbnb_spec.rb
movlog-0.3.10 spec/airbnb_spec.rb
movlog-0.3.9 spec/airbnb_spec.rb
movlog-0.3.8 spec/airbnb_spec.rb
movlog-0.3.7 spec/airbnb_spec.rb
movlog-0.3.6 spec/airbnb_spec.rb
movlog-0.3.5 spec/airbnb_spec.rb
movlog-0.3.4 spec/airbnb_spec.rb
movlog-0.3.3 spec/airbnb_spec.rb
movlog-0.3.2 spec/airbnb_spec.rb