diff --git a/spec/fixtures/access_token.qline b/spec/fixtures/access_token.txt similarity index 100% rename from spec/fixtures/access_token.qline rename to spec/fixtures/access_token.txt diff --git a/spec/fixtures/invalid_credentials.qline b/spec/fixtures/invalid_credentials.txt similarity index 100% rename from spec/fixtures/invalid_credentials.qline rename to spec/fixtures/invalid_credentials.txt diff --git a/spec/instapaper/api/oauth_spec.rb b/spec/instapaper/api/oauth_spec.rb index 0d6098a..fb53e99 100644 --- a/spec/instapaper/api/oauth_spec.rb +++ b/spec/instapaper/api/oauth_spec.rb @@ -6,9 +6,9 @@ describe Instapaper::Client::OAuth do describe '#token' do before do stub_post('/api/1/oauth/access_token').with(body: {x_auth_username: 'ohai', x_auth_password: 'p455w0rd', x_auth_mode: 'client_auth'}) - .to_return(body: fixture('access_token.qline'), headers: {content_type: 'text/plain; charset=utf-8'}) + .to_return(body: fixture('access_token.txt'), headers: {content_type: 'text/plain; charset=utf-8'}) stub_post('/api/1/oauth/access_token').with(body: {x_auth_username: 'inval1d', x_auth_password: 'cr3dentials', x_auth_mode: 'client_auth'}) - .to_return(body: fixture('invalid_credentials.qline'), headers: {content_type: 'text/plain; charset=utf-8'}) + .to_return(body: fixture('invalid_credentials.txt'), headers: {content_type: 'text/plain; charset=utf-8'}) end it 'gets the correct resource' do