summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@chef.io>2015-09-17 16:15:55 -0700
committerdanielsdeleo <dan@chef.io>2015-09-17 16:15:55 -0700
commita5d21134d3cd4bf0ccb7c0d800fe8555304f5a68 (patch)
tree17c188e662d5f1c02563c994f7925f922cf54ade
parente5566ebdaabb748e602b350c285d4b6bf97c2aef (diff)
downloadchef-policyfile-named-run-list-support.tar.gz
Fix false positive in test, make test more strict.policyfile-named-run-list-support
-rw-r--r--spec/unit/application/client_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb
index 49da62c719..831a3fc19e 100644
--- a/spec/unit/application/client_spec.rb
+++ b/spec/unit/application/client_spec.rb
@@ -250,7 +250,7 @@ Enable chef-client interval runs by setting `:client_fork = true` in your config
end
it "should throw an exception" do
- expect { @app.reconfigure }.to raise_error
+ expect { app.reconfigure }.to raise_error(Chef::Exceptions::PIDFileLockfileMatch)
end
end
end