spec/spec_helper.rb (8 lines of code) (raw):

# This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper"` to ensure that it is only # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration require 'chefspec' require 'chefspec/berkshelf' RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end end at_exit { ChefSpec::Coverage.report! }