summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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