spec/geoloqi_config.rb in geoloqi-0.9.33 vs spec/geoloqi_config.rb in geoloqi-0.9.35
- old
+ new
@@ -25,10 +25,10 @@
end
it 'displays log information if logger is provided and query is nil' do
stub_request(:get, api_url('account/username')).
with(:headers => {'Authorization'=>'OAuth access_token1234'}).
- to_return(:body => {'username' => 'bulbasaurrulzok'}.to_json)
+ to_return(:body => {:username => 'bulbasaurrulzok'}.to_json)
io = StringIO.new
Geoloqi.config :client_id => CLIENT_ID, :client_secret => CLIENT_SECRET, :logger => io
Geoloqi.get ACCESS_TOKEN, 'account/username'
\ No newline at end of file