Sha256: 01c922cc1ceba8e0de616b1ce94f462fcbfdd56cc32f782f652cb9ae18d60e44
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true RSpec.shared_context 'grossman client' do let(:client) do url = ENV['GMAN_SERVICES_URL'] client_id = ENV['GMAN_SERVICES_CLIENT_ID'] client_secret = ENV['GMAN_SERVICES_CLIENT_SECRET'] Gman::Client.new( url: url, client_id: client_id, client_secret: client_secret ) end end RSpec.shared_context 'new grossman client' do let(:client) do Gman::Client.new( url: url, client_id: client_id, client_secret: client_secret ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gman_client-0.4.1 | spec/support/shared_contexts.rb |
gman_client-0.4.0 | spec/support/shared_contexts.rb |