Sha256: a3825bbad129bc37dbdda15aee4c4e148e8f55ac8a506f7c8f85aafe364a739d
Contents?: true
Size: 396 Bytes
Versions: 5
Compression:
Stored size: 396 Bytes
Contents
require 'spec_helper' describe GeoNamesAPI::Place do describe "::find" do it "should find one place" do result = GeoNamesAPI::Place.find("50.01","10.2") result.should be_present end end describe "::all" do it "should find multiple places in 100km radius" do result = GeoNamesAPI::Place.all("50.01","10.2","100") result.size.should > 0 end end end
Version data entries
5 entries across 5 versions & 1 rubygems