require "support/shared/integration/integration_helper" describe "Recipe DSL methods" do include IntegrationSupport module Namer extend self attr_accessor :current_index end before(:all) { Namer.current_index = 1 } before { Namer.current_index += 1 } context "with resource 'base_thingy' declared as BaseThingy" do before(:each) do class BaseThingy < Chef::Resource resource_name "base_thingy" default_action :create class<