Sha256: 15dadc28333a1a144afc0827f0558d07d716b44c6c57f4d984ea08c9b9b2a44f

Contents?: true

Size: 467 Bytes

Versions: 13

Compression:

Stored size: 467 Bytes

Contents

require 'spec_helper'
require 'pact/configuration'

module Pact

  describe Configuration do

    subject { Configuration.default_configuration }

    describe "#color_enabled" do

      it "sets color_enabled to be true by default" do
        expect(subject.color_enabled).to be true
      end

      it "allows configuration of colour_enabled" do
        subject.color_enabled = false
        expect(subject.color_enabled).to be false
      end

    end

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pact-support-0.4.2 spec/lib/pact/configuration_spec.rb
pact-support-0.4.1 spec/lib/pact/configuration_spec.rb
pact-support-0.4.0 spec/lib/pact/configuration_spec.rb
pact-support-0.3.1 spec/lib/pact/configuration_spec.rb
pact-support-0.3.0 spec/lib/pact/configuration_spec.rb
pact-support-0.2.1 spec/lib/pact/configuration_spec.rb
pact-support-0.1.4 spec/lib/pact/configuration_spec.rb
pact-support-0.2.0 spec/lib/pact/configuration_spec.rb
pact-support-0.1.3 spec/lib/pact/configuration_spec.rb
pact-support-0.1.2 spec/lib/pact/configuration_spec.rb
pact-support-0.1.1 spec/lib/pact/configuration_spec.rb
pact-support-0.1.0 spec/lib/pact/configuration_spec.rb
pact-support-0.0.4 spec/lib/pact/configuration_spec.rb