Sha256: a0a59e8823818ddbbb99efb08a5d34e63ab360cedbbd0a15c7fa757833ff440c

Contents?: true

Size: 243 Bytes

Versions: 4

Compression:

Stored size: 243 Bytes

Contents

shared_context 'valid access token' do
  before do
    stub_request(:get, 'auth.g5search.com/oauth/token/info').
      with(headers: {'Authorization'=>"Bearer #{token_value}"}).
         to_return(status: 200, body: '', headers: {})
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
g5_authenticatable_api-0.3.2 spec/support/shared_contexts/valid_access_token.rb
g5_authenticatable_api-0.3.1 spec/support/shared_contexts/valid_access_token.rb
g5_authenticatable_api-0.3.0 spec/support/shared_contexts/valid_access_token.rb
g5_authenticatable_api-0.2.0 spec/support/shared_contexts/valid_access_token.rb