Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

John Hinnegan's Profile

GitHub User: softwaregravy

Comments by John Hinnegan


Using rspec, I'm doing the following: (Geocoded Zipcode stores zipcode->lat/lon pairs)

gz = => "12345", :latitude => "50.00", :longitude => "-75.00")

I'm really not happy with this solution. Gotta be a better way.


How are people who are using this testing? I'm trying to find the best place to insert a hook to prevent actual geocoding during my tests.