summaryrefslogtreecommitdiff
path: root/spec/unit/application/knife_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/application/knife_spec.rb')
-rw-r--r--spec/unit/application/knife_spec.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/unit/application/knife_spec.rb b/spec/unit/application/knife_spec.rb
index ba02e44481..36ae23e608 100644
--- a/spec/unit/application/knife_spec.rb
+++ b/spec/unit/application/knife_spec.rb
@@ -182,7 +182,7 @@ describe Chef::Application::Knife do
end
it "should load the environment from the config file" do
- config_file = File.join(CHEF_SPEC_DATA,"environment-config.rb")
+ config_file = File.join(CHEF_SPEC_DATA, "environment-config.rb")
with_argv(*%W{noop knife command -c #{config_file}}) do
expect(@knife).to receive(:exit).with(0)
@knife.run
@@ -199,7 +199,7 @@ describe Chef::Application::Knife do
end
it "should override the config file environment with the CLI environment" do
- config_file = File.join(CHEF_SPEC_DATA,"environment-config.rb")
+ config_file = File.join(CHEF_SPEC_DATA, "environment-config.rb")
with_argv(*%W{noop knife command -c #{config_file} -E override}) do
expect(@knife).to receive(:exit).with(0)
@knife.run
@@ -208,7 +208,7 @@ describe Chef::Application::Knife do
end
it "should override the config file environment with the CLI environment regardless of order" do
- config_file = File.join(CHEF_SPEC_DATA,"environment-config.rb")
+ config_file = File.join(CHEF_SPEC_DATA, "environment-config.rb")
with_argv(*%W{noop knife command -E override -c #{config_file}}) do
expect(@knife).to receive(:exit).with(0)
@knife.run
@@ -225,5 +225,4 @@ describe Chef::Application::Knife do
end
end
end
-
end