summaryrefslogtreecommitdiff
path: root/spec/unit/application
diff options
context:
space:
mode:
authorsnehaldwivedi <sdwivedi@msystechnologies.com>2021-10-28 23:43:20 -0700
committersnehaldwivedi <sdwivedi@msystechnologies.com>2021-11-01 23:56:51 -0700
commit60a33cf2204b4cc921be74e010ea8fd70668800a (patch)
tree968b459d27d90b6d72fc2b8b40089e4e79c15e5a /spec/unit/application
parente677f67853fde238206c2f96b3770fc3af81f4e3 (diff)
downloadchef-60a33cf2204b4cc921be74e010ea8fd70668800a.tar.gz
Removed unwanted changes
Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
Diffstat (limited to 'spec/unit/application')
-rw-r--r--spec/unit/application/client_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb
index b12d5a36da..6977e4f108 100644
--- a/spec/unit/application/client_spec.rb
+++ b/spec/unit/application/client_spec.rb
@@ -123,11 +123,6 @@ describe Chef::Application::Client, "reconfigure" do
named_run_list: "arglebargle-example"
end
- describe "--validation_key KEY_FILE" do
- it_behaves_like "sets the configuration", "--validation_key validation.pem",
- validation_key: "validation.pem"
- end
-
describe "--no-listen" do
it_behaves_like "sets the configuration", "--no-listen", listen: false
end
@@ -476,11 +471,6 @@ describe Chef::Application::Client, "setup_application" do
allow(@app).to receive(:configure_logging).and_return(true)
end
- it "should return full path for validation_key" do
- Chef::Config.validation_key = "/path/to/file"
- expect(Chef::Config.validation_key).to eql("/path/to/file")
- end
-
it "should change privileges" do
expect(Chef::Daemon).to receive(:change_privilege).and_return(true)
@app.setup_application