spec/formats/coordinates_spec.rb in barometer-0.7.2 vs spec/formats/coordinates_spec.rb in barometer-0.7.3
- old
+ new
@@ -105,10 +105,10 @@
it "converts from geocode" do
query = Barometer::Query.new(@geocode)
query.format.should == :geocode
new_query = Barometer::Query::Format::Coordinates.to(query)
- new_query.q.should == "40.7143528,-74.0059731"
+ new_query.q.should == "40.7143528,-74.00597309999999"
new_query.country_code.should == "US"
new_query.format.should == :coordinates
new_query.geo.should_not be_nil
end
\ No newline at end of file