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-12.6.0 spec/support/shared/context/config.rb
chef-12.6.0-universal-mingw32 spec/support/shared/context/config.rb
chef-12.5.1-universal-mingw32 spec/support/shared/context/config.rb
chef-12.5.1 spec/support/shared/context/config.rb
chef-12.4.3-universal-mingw32 spec/support/shared/context/config.rb
chef-12.4.3 spec/support/shared/context/config.rb
chef-12.4.2-universal-mingw32 spec/support/shared/context/config.rb
chef-12.4.2 spec/support/shared/context/config.rb
chef-12.5.0.alpha.1 spec/support/shared/context/config.rb
chef-12.4.1-universal-mingw32 spec/support/shared/context/config.rb
chef-12.4.1 spec/support/shared/context/config.rb
chef-12.4.0 spec/support/shared/context/config.rb
chef-12.4.0-universal-mingw32 spec/support/shared/context/config.rb
chef-12.4.0.rc.2 spec/support/shared/context/config.rb
chef-12.4.0.rc.2-universal-mingw32 spec/support/shared/context/config.rb
chef-12.4.0.rc.0 spec/support/shared/context/config.rb
chef-12.4.0.rc.0-universal-mingw32 spec/support/shared/context/config.rb
chef-11.18.12-x86-mingw32 spec/support/shared/context/config.rb
chef-11.18.12 spec/support/shared/context/config.rb
chef-12.3.0-x86-mingw32 spec/support/shared/context/config.rb