spec/lib/country_spec.rb in geolookup-0.3.0 vs spec/lib/country_spec.rb in geolookup-0.5.0
- old
+ new
@@ -7,9 +7,9 @@
it "returns a country code if country name matches" do
expect(Geolookup::Country.name_to_code("Hong Kong")).to eql("HK")
end
it "returns a lat/long array if country name matches" do
- expect(Geolookup::Country.lat_long("United States")).to eql([38000000, -97000000])
+ expect(Geolookup::Country.name_to_lat_long("United States")).to eql([38000000, -97000000])
end
end
end
\ No newline at end of file