Sha256: 1a07f7cc691ea40ca6a5a857c0608211003ed9ae8deecf98e4f5e96d8f7bd223

Contents?: true

Size: 470 Bytes

Versions: 3

Compression:

Stored size: 470 Bytes

Contents

# frozen_string_literal: true

RSpec.describe SoapyBing::OauthCredentials do
  subject(:oauth_credentials) { described_class.new }

  describe '#access_token' do
    context 'on successful respose', :integration do
      it 'responds with oauth access token',
        vcr: { cassette_name: 'oauth_credentials/access_token/with_successful_status' } do
        expect(oauth_credentials.access_token).to eq 'bing-ads-oauth-authentication-token'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
soapy_bing-1.0.1 spec/integration/soapy_bing/oauth_credentials_spec.rb
soapy_bing-1.0.0 spec/integration/soapy_bing/oauth_credentials_spec.rb
soapy_bing-0.4.0 spec/integration/soapy_bing/oauth_credentials_spec.rb