diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-07-13 16:35:06 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-07-14 11:10:31 -0700 |
commit | dab3d44e36ba9dc9907085feb95275f3fd1952eb (patch) | |
tree | c3b03e419ce39d4f1b0853e4b922083d43150949 /spec/spec_helper.rb | |
parent | ebfbce99c8c1a4caaa3fb3df98d3b49625883bf4 (diff) | |
download | chef-dab3d44e36ba9dc9907085feb95275f3fd1952eb.tar.gz |
Don't allow expectations of raising an error without an error type.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index fd74a191f1..18a2ae888b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -116,6 +116,7 @@ RSpec.configure do |config| config.include(MockShellout::RSpec) config.filter_run focus: true config.filter_run_excluding external: true + config.raise_on_warning = true # Explicitly disable :should syntax # And set max_formatted_output_length to nil to prevent RSpec from doing truncation. |