Permalink
Browse files

update @openstates_base_url

  • Loading branch information...
1 parent 9b5920d commit 07ac19a41838686db8bcea575dd9142715f7bac6 @jpmckinney jpmckinney committed Nov 7, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/gov_kit/configuration.rb
  2. +1 −1 spec/open_states_spec.rb
View
2 lib/gov_kit/configuration.rb
@@ -11,7 +11,7 @@ class Configuration
def initialize
@sunlight_apikey = @openstates_apikey = @votesmart_apikey = @ftm_apikey = ''
- @openstates_base_url = 'openstates.sunlightlabs.com/api/v1/'
+ @openstates_base_url = 'openstates.org/api/v1/'
@transparency_data_base_url = 'transparencydata.com/api/1.0/'
@votesmart_base_url = 'api.votesmart.org/'
@ftm_base_url = 'api.followthemoney.org/'
View
2 spec/open_states_spec.rb
@@ -65,7 +65,7 @@ module GovKit::OpenStates
it "should have the base uri set properly" do
[State, Bill, Legislator].each do |klass|
- klass.base_uri.should == "http://openstates.sunlightlabs.com/api/v1"
+ klass.base_uri.should == "http://openstates.org/api/v1"
end
end

0 comments on commit 07ac19a

Please sign in to comment.