Sha256: fa0da46e7849bdece1ad436eea4ae85f3754c29197f56a73f3927819205cf9f6

Contents?: true

Size: 527 Bytes

Versions: 148

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

148 entries across 148 versions & 1 rubygems

Version Path
chef-14.15.6 spec/support/shared/context/config.rb
chef-14.15.6-universal-mingw32 spec/support/shared/context/config.rb
chef-15.8.23 spec/support/shared/context/config.rb
chef-15.8.23-universal-mingw32 spec/support/shared/context/config.rb
chef-15.7.32 spec/support/shared/context/config.rb
chef-15.7.32-universal-mingw32 spec/support/shared/context/config.rb
chef-15.7.31 spec/support/shared/context/config.rb
chef-15.7.31-universal-mingw32 spec/support/shared/context/config.rb
chef-15.7.30 spec/support/shared/context/config.rb
chef-15.7.30-universal-mingw32 spec/support/shared/context/config.rb
chef-15.6.10 spec/support/shared/context/config.rb
chef-15.6.10-universal-mingw32 spec/support/shared/context/config.rb
chef-15.5.17 spec/support/shared/context/config.rb
chef-15.5.17-universal-mingw32 spec/support/shared/context/config.rb
chef-15.5.16 spec/support/shared/context/config.rb
chef-15.5.16-universal-mingw32 spec/support/shared/context/config.rb
chef-15.5.15 spec/support/shared/context/config.rb
chef-15.5.15-universal-mingw32 spec/support/shared/context/config.rb
chef-15.5.9 spec/support/shared/context/config.rb
chef-15.5.9-universal-mingw32 spec/support/shared/context/config.rb