Skip to content

Commit

Permalink
Fix FakeWeb Entity uris
Browse files Browse the repository at this point in the history
Insert the test environment's apikey.

rspec spec/transparency_data_spec.rb now passes.
rspec now passes in its entirety!
  • Loading branch information
oneacross committed Apr 10, 2012
1 parent aca5dcc commit 2299705
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/transparency_data_spec.rb
Expand Up @@ -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|
Expand Down

0 comments on commit 2299705

Please sign in to comment.