Sha256: 4f77dcba0f972be106f2ece8c78fa3613cd4d83ef70fa3acbe734ab70823b4bb
Contents?: true
Size: 494 Bytes
Versions: 7
Compression:
Stored size: 494 Bytes
Contents
require "chef/platform" require "chef/run_context" require "chef/resource" require "chef/event_dispatch/base" require "chef/event_dispatch/dispatcher" $:.unshift(File.join(File.dirname(__FILE__), "..", "..", "libraries")) module Helpers def events @events ||= Chef::EventDispatch::Dispatcher.new end def run_context @run_context ||= Chef::RunContext.new(node, {}, events) end end RSpec.configure do |config| config.include Helpers config.formatter = :documentation end
Version data entries
7 entries across 7 versions & 1 rubygems