test/oauth_client_test.rb in twurl-0.6.2 vs test/oauth_client_test.rb in twurl-0.6.3
- old
+ new
@@ -9,10 +9,11 @@
@client = Twurl::OAuthClient.test_exemplar
options.base_url = 'api.twitter.com'
options.request_method = 'get'
options.path = '/path/does/not/matter.xml'
options.data = {}
+ options.headers = {}
Twurl.options = options
end
def teardown
@@ -157,6 +158,6 @@
assert client.needs_to_authorize?
client.exchange_credentials_for_access_token
assert !client.needs_to_authorize?
end
-end
\ No newline at end of file
+end