Sha256: 0aaa161bcc9926593bad1c6aa6c0cccceb44adea8bebe79e707146843988cd53

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

# encoding: UTF-8

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

2 entries across 2 versions & 1 rubygems

Version Path
httplog-1.0.2 spec/configuration_spec.rb
httplog-1.0.1 spec/configuration_spec.rb