Sha256: 1c40807785c2409ef2fdc7504ee14118bb9bf5a5f11cc73a45fadb7ca3b428fe

Contents?: true

Size: 527 Bytes

Versions: 72

Compression:

Stored size: 527 Bytes

Contents

#
# Define config file setups for spec tests here.
# https://www.relishapp.com/rspec/rspec-core/docs/example-groups/shared-context
#

# Required chef files here:
require 'chef/config'

# Required spec files here:
require 'spec_helper'

# Basic config. Nothing fancy.
shared_context "default config options" do
  before do
    Chef::Config[:cache_path] = windows? ? 'C:\chef' : '/var/chef'
  end

  # Don't need to have an after block to reset the config...
  # The spec_helper.rb takes care of resetting the config state.
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
chef-11.14.6-x86-mingw32 spec/support/shared/context/config.rb
chef-11.14.6 spec/support/shared/context/config.rb
chef-11.14.2-x86-mingw32 spec/support/shared/context/config.rb
chef-11.14.2 spec/support/shared/context/config.rb
chef-12.0.0.alpha.0-x86-mingw32 spec/support/shared/context/config.rb
chef-12.0.0.alpha.0 spec/support/shared/context/config.rb
chef-11.14.0.rc.2-x86-mingw32 spec/support/shared/context/config.rb
chef-11.14.0.rc.2 spec/support/shared/context/config.rb
chef-11.14.0.alpha.4 spec/support/shared/context/config.rb
chef-11.14.0.alpha.4-x86-mingw32 spec/support/shared/context/config.rb
chef-11.14.0.alpha.3-x86-mingw32 spec/support/shared/context/config.rb
chef-11.14.0.alpha.3 spec/support/shared/context/config.rb