require 'spec_helper'
require 'chefspec'
require 'chefspec/librarian'

RSpec.configure do |config|
  config.platform = 'mac_os_x'
  config.version = '10.11.1'
  config.before { stub_const('ENV', 'SUDO_USER' => 'fauxhai') }
  config.after(:suite) { FileUtils.rm_r('.librarian') }
end

require 'spec_helper'
require 'chefspec'
require 'chefspec/librarian'

RSpec.configure do |config|
  config.platform = 'mac_os_x'
  config.version = '10.11.1'
  config.before { stub_const('ENV', 'SUDO_USER' => 'fauxhai') }
  config.after(:suite) { FileUtils.rm_r('.librarian') }
  config.file_cache_path = '/var/chef/cache'
end

Set chef file cache path for tests
Set chef file cache path for tests

We were making an expecation on the path that wasn't necessarily true
