opscode/chef — pull request #720 by schisamo (2013-04-17 17:39:06+00:00)
Title: [CHEF-4011] use `platform_specific_path` helper in specs

This will fix the following test failures when specs are run on Windows:

1) Chef::Config Chef::Config[:encrypted_data_bag_secret] /etc/chef/encrypted_data_bag_secret exists sets the value to /etc/chef/encrypted_data_bag_secret
Failure/Error: require 'chef/config'
received :exist? with unexpected arguments
expected: ("/etc/chef/encrypted_data_bag_secret")
got: ("C:\\chef\\encrypted_data_bag_secret")
Please stub a default value first if message might be received with other args as well.
# C:/jenkins/workspace/chef-ruby1.9.2-windows/lib/chef/config.rb:280:in `'
# C:/jenkins/workspace/chef-ruby1.9.2-windows/lib/chef/config.rb:25:in `'
# C:/jenkins/workspace/chef-ruby1.9.2-windows/lib/chef/config.rb:24:in `'
# C:/jenkins/workspace/chef-ruby1.9.2-windows/spec/unit/config_spec.rb:273:in `require'
# C:/jenkins/workspace/chef-ruby1.9.2-windows/spec/unit/config_spec.rb:273:in `block (3 levels) in '