diff options
author | danielsdeleo <dan@chef.io> | 2015-06-19 15:02:29 -0700 |
---|---|---|
committer | danielsdeleo <dan@chef.io> | 2015-06-19 17:41:51 -0700 |
commit | 599ef6ac28d269c73fed67cac171740b82e75eb3 (patch) | |
tree | bf725bba96edeb96155ea83fbeaf55dbe464df36 /spec/unit/runner_spec.rb | |
parent | cf6e9700516ab874ed714ea58d8068ac87516e54 (diff) | |
download | ohai-599ef6ac28d269c73fed67cac171740b82e75eb3.tar.gz |
Fix RSpec warning for 'potential_false_positives'
Diffstat (limited to 'spec/unit/runner_spec.rb')
-rw-r--r-- | spec/unit/runner_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/runner_spec.rb b/spec/unit/runner_spec.rb index 6c04650c..2efc244d 100644 --- a/spec/unit/runner_spec.rb +++ b/spec/unit/runner_spec.rb @@ -141,7 +141,7 @@ describe Ohai::Runner, "run_plugin" do end it "should not run the plugin" do - expect{ @runner.run_plugin(@plugin) }.to raise_error + expect{ @runner.run_plugin(@plugin) }.to raise_error(Ohai::Exceptions::AttributeNotFound) expect(@plugin.has_run?).to be false end end |