mobilecommons / google_civic_info

Ruby client for Google Civic Information API
MIT License
1 stars 1 forks source link

Some small tweaks to get specs running #2

Closed walter closed 11 years ago

walter commented 11 years ago

I'm getting this failure:

1) GoogleCivicInfo::Client representative lookup, making actual HTTP requests should return a correct result
     Failure/Error: result.divisions.size.should == 7
       expected: 7
            got: 5 (using ==)

I did a little digging and it looks like indeed only 5 districts are returned. The two missing as compared to whate are mocked up in successful_json_response_1 are ocd-division/country:us/state:va/county:fairfax and ocd-division/country:us/state:va/county:fairfax/council_district:hunter_mill. Seems like it could be an issue on the Google end and may "come right".