Sha256: dd57dda45fd15a0f78ebbaba9b5a6f5abb3463104ffc033ffab63027a2260024

Contents?: true

Size: 434 Bytes

Versions: 8

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

module HttpLog
  describe Configuration do
    let(:config) { Configuration.new }

    describe '#compact_log' do
      it 'defaults to false' do
        expect(config.compact_log).to eq(false)
      end
    end

    describe '#compact_log=' do
      it 'sets values' do
        config.compact_log = true
        expect(config.compact_log).to eq(true)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
httplog-1.3.1 spec/configuration_spec.rb
httplog-1.3.0 spec/configuration_spec.rb
httplog-1.2.2 spec/configuration_spec.rb
httplog-1.2.1 spec/configuration_spec.rb
httplog-1.2.0 spec/configuration_spec.rb
httplog-1.1.1 spec/configuration_spec.rb
httplog-1.1.0 spec/configuration_spec.rb
httplog-1.0.3 spec/configuration_spec.rb