# encoding: utf-8
require 'chefspec'
require 'chefspec/berkshelf'
require 'chefspec/cacher'
require 'pathname'
Dir.glob(File.dirname(__FILE__) + '/**/*.rb', &method(:require))

ChefSpec::Coverage.start!

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end # config.expect_with

  config.fail_fast = true

  config.platform = 'centos'
  config.version = '6.5'
end # RSpec

# encoding: utf-8
require 'chefspec'
require 'chefspec/berkshelf'
require 'chefspec/cacher'
require 'pathname'
Dir.glob(File.join(__dir__, '**', '*.rb'), &method(:require))

ChefSpec::Coverage.start!

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end # config.expect_with

  config.fail_fast = true

  config.platform = 'centos'
  config.version = '6.5'
end # RSpec

Use File.join instead of hard-coding path
Use File.join instead of hard-coding path
