test/oauth_client_test.rb in twurl-0.8.1 vs test/oauth_client_test.rb in twurl-0.8.2
- old
+ new
@@ -1,16 +1,16 @@
require File.dirname(__FILE__) + '/test_helper'
-class Twurl::OAuthClient::AbstractOAuthClientTest < MiniTest::Unit::TestCase
+class Twurl::OAuthClient::AbstractOAuthClientTest < Minitest::Test
attr_reader :client, :options
def setup
Twurl::OAuthClient.instance_variable_set(:@rcfile, nil)
@options = Twurl::Options.test_exemplar
@client = Twurl::OAuthClient.test_exemplar
options.base_url = 'api.twitter.com'
options.request_method = 'get'
- options.path = '/path/does/not/matter.xml'
+ options.path = '/path/does/not/matter.json'
options.data = {}
options.headers = {}
Twurl.options = options
end