Sha256: 489bc370542491c3fc1026e645e077315ce0a9dceb155aef48d5f967d31d414f

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

require 'spec_helper'

describe "Easytobookr#city_info" do

  let(:city_id) { 26 }
  let(:city_info) { Easytobookr.city_info(city_id) }
  subject { city_info }
  it { should be_a(Easytobookr::Request) }
  describe "#response" do
    subject { city_info.response }
    it "should be a valid response" do
      should be_a(Nokogiri::XML::Document)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easytobookr-0.0.1 spec/integration/city_info_spec.rb