Sha256: e392a1e0a2965e4f5c96aebdc43b7246fc98c384bca9bca2b79aed78645b1c77

Contents?: true

Size: 509 Bytes

Versions: 15

Compression:

Stored size: 509 Bytes

Contents

require 'spec_helper'

describe LitmusPaper::Configuration do
  describe "evaluate" do
    it "configures a service" do
      config = LitmusPaper::Configuration.new(TEST_CONFIG)
      services = config.evaluate
      services.has_key?('test').should == true
    end
  end

  describe "include_files" do
    it "configures a dir glob of services" do
      config = LitmusPaper::Configuration.new(TEST_D_CONFIG)
      services = config.evaluate
      services.has_key?('test').should == true
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
litmus_paper-0.6.2 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.6.1 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.6.0 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.5.0 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.4.0 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.3.5 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.3.3 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.3.2 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.3.1 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.3.0 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.2.2 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.2.1 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.2.0 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.1.0 spec/litmus_paper/configuration_spec.rb
litmus_paper-0.0.3 spec/litmus_paper/configuration_spec.rb