alexreisner/geocoder — pull request #285 by evilmarty (2012-08-25 00:37:41+00:00)
Title: Add a dummy lookup to be used for testing in apps that use Geocoder.

Very easily pre-fill queries with the results you expect and when a query matches it will return those results.

To add a query simply do:

```ruby
Geocoder::Lookup::Dummy.add_query "Neverland", {'address' => 'Beyond the farthest star and head east' ...}
```

And then just query that as so:

```ruby
Geocoder::Configuration.lookup = :dummy
Geocoder.search 'Neverland'
```