summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@chef.io>2015-09-17 16:15:55 -0700
committerdanielsdeleo <dan@chef.io>2015-09-21 09:07:29 -0700
commitcc612fce9456a2ad626535d0464944d28c18d12a (patch)
tree01e33d04a394638939bbe714b5263e571a73cb28
parent6a3ff229c9db3c9811ada59aed2ead80efe699b4 (diff)
downloadchef-cc612fce9456a2ad626535d0464944d28c18d12a.tar.gz
Fix false positive in test, make test more strict.
-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