Skip to content

Instantly share code, notes, and snippets.

@benschwarz
Created August 5, 2009 06:32
Show Gist options
  • Save benschwarz/162540 to your computer and use it in GitHub Desktop.
Save benschwarz/162540 to your computer and use it in GitHub Desktop.
FakeWeb.register_uri(:get, %r(google(.*)geo), :response => File.join(SPEC_ROOT, 'support', 'fakeweb', 'geo')) unless FakeWeb.registered_uri?(:get, "http://maps.google.com/geo")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment