Sha256: 5f26055ded5343ad47a19bce2c86d2b3f61c3b1c75ca3aa212252e4df8d49802

Contents?: true

Size: 563 Bytes

Versions: 9

Compression:

Stored size: 563 Bytes

Contents

# Copyright (c) 2012-2013 Stark & Wayne, LLC

require File.expand_path("../../../spec_helper", __FILE__)

describe Bosh::CloudFoundry::Config::CommonConfig do
  before(:each) do
    @dir = Dir.mktmpdir("common_config_spec")
  end

  after(:each) do
    FileUtils.remove_entry_secure @dir
  end

  it "should default base_systems_dir and create it" do
    config_file = File.join(@dir, "config.yml")
    config = Bosh::CloudFoundry::Config::CommonConfig.new(config_file)

    base_systems_dir = config.base_systems_dir
    base_systems_dir.should == nil
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bosh-cloudfoundry-0.6.1 spec/unit/config/common_config_spec.rb
bosh-cloudfoundry-0.6.0 spec/unit/config/common_config_spec.rb
bosh-cloudfoundry-0.5.1 spec/unit/config/common_config_spec.rb
bosh-cloudfoundry-0.5.0 spec/unit/config/common_config_spec.rb
bosh-cloudfoundry-0.4.1 spec/unit/config/common_config_spec.rb
bosh-cloudfoundry-0.4.0 spec/unit/config/common_config_spec.rb
bosh-cloudfoundry-0.3.0 spec/unit/config/common_config_spec.rb
bosh-cloudfoundry-0.2.1 spec/unit/config/common_config_spec.rb
bosh-cloudfoundry-0.2.0 spec/unit/config/common_config_spec.rb