Sha256: 65a82cd6846930f545f4b46a01d2c88535ac13904b9fc6f60388b144fdbd3476
Contents?: true
Size: 536 Bytes
Versions: 22
Compression:
Stored size: 536 Bytes
Contents
RSpec.describe Percy::Client do describe '#config' do it 'returns the config object given when initialized' do config = Percy::Config.new client = Percy::Client.new(config: config) expect(client.config).to eq(config) expect(client.config.keys).to eq([ :access_token, :api_url, :repo, ]) expect(client.config.access_token).to be_nil expect(client.config.api_url).to eq(ENV['PERCY_API']) expect(client.config.repo).to eq('percy/percy-client') end end end
Version data entries
22 entries across 22 versions & 1 rubygems