summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@chef.io>2015-06-19 17:47:46 -0700
committerdanielsdeleo <dan@chef.io>2015-06-19 17:47:46 -0700
commitee5c24e512762bef23e3e826f2c7a68415d20be2 (patch)
treeb2d01aca510f3968226c94ea13b7473bc7b066ba
parent599ef6ac28d269c73fed67cac171740b82e75eb3 (diff)
downloadohai-el7-platform.tar.gz
Fix indentationel7-platform
-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,