summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/spec_helper.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 69faded0..7017d985 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -33,7 +33,7 @@ def get_plugin(plugin, ohai = Ohai::System.new, path = PLUGIN_PATH)
end
def convert_windows_output(stdout)
- stdout.gsub("\n", "\r\n")
+ stdout.gsub("\n", "\r\n")
end
def it_should_check_from(plugin, attribute, from, value)
@@ -91,6 +91,10 @@ end
RSpec.configure do |config|
+ # Not worth addressing warnings in Ohai until upstream ones in ffi-yajl are
+ # fixed.
+ # config.warnings = true
+
config.raise_errors_for_deprecations!
# `expect` should be preferred for new tests or when refactoring old tests,