Sha256: 4fc83ee0239f002f674a9f18d87541ba11485b0e6b61abc8551f0e4663067b24

Contents?: true

Size: 430 Bytes

Versions: 12

Compression:

Stored size: 430 Bytes

Contents

RSpec.describe Percy::Config do
  let(:config) { Percy::Config.new }

  it 'returns the correct defaults' do
    expect(config.keys).to eq(
      [
        :access_token,
        :api_url,
        :debug,
        :default_widths,
      ],
    )
    expect(config.access_token).to be_nil
    expect(config.api_url).to eq(ENV['PERCY_API'])
    expect(config.debug).to eq(false)
    expect(config.default_widths).to eq([])
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
percy-client-2.1.1 spec/lib/percy/config_spec.rb
percy-client-2.1.0 spec/lib/percy/config_spec.rb
percy-client-2.0.9 spec/lib/percy/config_spec.rb
percy-client-2.0.8 spec/lib/percy/config_spec.rb
percy-client-2.0.7 spec/lib/percy/config_spec.rb
percy-client-2.0.6 spec/lib/percy/config_spec.rb
percy-client-2.0.5 spec/lib/percy/config_spec.rb
percy-client-2.0.4 spec/lib/percy/config_spec.rb
percy-client-2.0.3 spec/lib/percy/config_spec.rb
percy-client-2.0.2 spec/lib/percy/config_spec.rb
percy-client-2.0.1 spec/lib/percy/config_spec.rb
percy-client-2.0.0 spec/lib/percy/config_spec.rb