Sha256: 117066a5724ce79e807be5752bfd728907deb6ed12d5b3e088cbb242e9f5adb7

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

require "spec_helper"

module GeoNamesAPI
  describe Country do

    subject do
      described_class.find "CA"
    end

    it "can download and unpack the csv" do
      expect(subject.postal_code_csv.size).to be > 0
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geonames_api-0.1.6 spec/geonames_api/country_spec.rb
geonames_api-0.1.5 spec/geonames_api/country_spec.rb
geonames_api-0.1.4 spec/geonames_api/country_spec.rb
geonames_api-0.1.3 spec/geonames_api/country_spec.rb
geonames_api-0.1.2 spec/geonames_api/country_spec.rb