spec/spec_helper.rb in chef-11.0.0.beta.0 vs spec/spec_helper.rb in chef-11.0.0.beta.1

- old
+ new

@@ -16,9 +16,15 @@ # limitations under the License. # If you need to add anything in here, don't. # Add it to one of the files in spec/support +# Configure this first so it doesn't trigger annoying warning when we use it. +# Main rspec configuration comes later +RSpec.configure do |config| + config.treat_symbols_as_metadata_keys_with_true_values = true +end + # Abuse ruby's constant lookup to avoid undefined constant errors module Shell JUST_TESTING_MOVE_ALONG = true unless defined? JUST_TESTING_MOVE_ALONG IRB = nil unless defined? IRB end