Sha256: 065df1bda1d7b8c425450b1d0c61b89a63a72d3032b72039c5dc76d29fcedb39

Contents?: true

Size: 483 Bytes

Versions: 7

Compression:

Stored size: 483 Bytes

Contents

require "spec_helper"

module RockConfig
  describe Configuration do
    it "accepts scanned directories" do
      configuration = Configuration.new

      configuration.scanned_directories << "/custom/path"
      configuration.scanned_directories.should include "/custom/path"
    end

    it "accepts config loaders" do
      configuration = Configuration.new

      configuration.config_loaders << "duck"
      configuration.config_loaders.should include "duck"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rock_config-0.0.7 spec/configuration_spec.rb
rock_config-0.0.6 spec/configuration_spec.rb
rock_config-0.0.5 spec/configuration_spec.rb
rock_config-0.0.4 spec/configuration_spec.rb
rock_config-0.0.3 spec/configuration_spec.rb
rock_config-0.0.2 spec/configuration_spec.rb
rock_config-0.0.1 spec/configuration_spec.rb