Sha256: f7fa61f9c0c8bccb87af15778515de0b0ef5399d308d79e71bccd252b6ff7dd1

Contents?: true

Size: 548 Bytes

Versions: 32

Compression:

Stored size: 548 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

32 entries across 32 versions & 1 rubygems

Version Path
chef-14.13.11-universal-mingw32 spec/support/shared/context/config.rb
chef-15.0.300-universal-mingw32 spec/support/shared/context/config.rb
chef-15.0.298-universal-mingw32 spec/support/shared/context/config.rb
chef-15.0.293-universal-mingw32 spec/support/shared/context/config.rb
chef-14.12.9-universal-mingw32 spec/support/shared/context/config.rb
chef-14.12.3-universal-mingw32 spec/support/shared/context/config.rb
chef-13.12.14-universal-mingw32 spec/support/shared/context/config.rb
chef-14.11.21-universal-mingw32 spec/support/shared/context/config.rb
chef-14.10.9-universal-mingw32 spec/support/shared/context/config.rb
chef-14.9.13-universal-mingw32 spec/support/shared/context/config.rb
chef-14.8.12-universal-mingw32 spec/support/shared/context/config.rb
chef-14.7.17-universal-mingw32 spec/support/shared/context/config.rb
chef-13.12.3-universal-mingw32 spec/support/shared/context/config.rb
chef-14.6.47-universal-mingw32 spec/support/shared/context/config.rb
chef-13.11.3-universal-mingw32 spec/support/shared/context/config.rb
chef-14.5.33-universal-mingw32 spec/support/shared/context/config.rb
chef-13.10.4-universal-mingw32 spec/support/shared/context/config.rb
chef-14.3.37-universal-mingw32 spec/support/shared/context/config.rb
chef-13.10.0-universal-mingw32 spec/support/shared/context/config.rb
chef-13.9.4-universal-mingw32 spec/support/shared/context/config.rb