Update Yahoo lookup to reflect API changes.
"Results" key is now "Result" and is not an array when only one result. Update code and response fixtures to reflect this.
Showing
- lib/geocoder/lookups/yahoo.rb 9 additions, 2 deletionslib/geocoder/lookups/yahoo.rb
- test/fixtures/yahoo_garbage.json 0 additions, 50 deletionstest/fixtures/yahoo_garbage.json
- test/fixtures/yahoo_madison_square_garden.json 49 additions, 43 deletionstest/fixtures/yahoo_madison_square_garden.json
- test/fixtures/yahoo_no_results.json 10 additions, 8 deletionstest/fixtures/yahoo_no_results.json
- test/services_test.rb 1 addition, 1 deletiontest/services_test.rb
test/fixtures/yahoo_garbage.json
deleted
100644 → 0
Please register or sign in to comment