Permalink
Browse files

Fix FakeWeb Entity uris

Insert the test environment's apikey.

rspec spec/transparency_data_spec.rb now passes.
rspec now passes in its entirety!
  • Loading branch information...
1 parent aca5dcc commit 2299705b52116558ad3c62b3aef05bfdb906cab9 @oneacross committed Apr 10, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/transparency_data_spec.rb
@@ -18,9 +18,9 @@ module GovKit::TransparencyData
['/contributions.json\?', 'contributions.response'],
['/lobbying.json\?', 'lobbyists_find_all.response'],
['/grants.json\?', 'grants_find_all.response'],
- ['/entities.json\?apikey=&search=$', 'entities_search.response'],
- ['/entities.json\?apikey=&search=harry%20pelosi', 'entities_search_limit_0.response'],
- ['/entities.json\?apikey=&search=nancy%2Bpelosi', 'entities_search_limit_1.response']
+ ['/entities.json\?apikey=YOUR_OPENSTATES_API_KEY&search=$', 'entities_search.response'],
+ ['/entities.json\?apikey=YOUR_OPENSTATES_API_KEY&search=harry%20pelosi', 'entities_search_limit_0.response'],
+ ['/entities.json\?apikey=YOUR_OPENSTATES_API_KEY&search=nancy%2Bpelosi', 'entities_search_limit_1.response']
]
urls.each do |u|

0 comments on commit 2299705

Please sign in to comment.