Sha256: 5c88b1c3f7e637599faff5bdd49c7316cbc4ee1a6e8f920735c53300aaee6f45
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
require 'spec_helper' describe GeoNamesAPI::Place do describe "::find" do it "expect to find one place" do result = GeoNamesAPI::Place.find("50.01","10.2") expect(result).to be_present end end describe "::all" do it "expect to find multiple places in 100km radius" do result = GeoNamesAPI::Place.all("50.01","10.2","100") expect(result.size).to be > 0 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geonames_api-0.1.6 | spec/geonames_api/place_spec.rb |
geonames_api-0.1.5 | spec/geonames_api/place_spec.rb |