summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-08-09 12:30:13 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-08-16 18:41:25 -0700
commite792cfd2df516c13ae5ca6ce1eed2b8e10628581 (patch)
treec023c3f57afd482a517eded4d08fb1ae1be84437
parent395b612eed722f0cbb395082aa7ea157d74d65e6 (diff)
downloadchef-e792cfd2df516c13ae5ca6ce1eed2b8e10628581.tar.gz
autofixing Style/SpaceBeforeComment cop
-rw-r--r--spec/functional/knife/exec_spec.rb2
-rw-r--r--spec/unit/knife/cookbook_site_share_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/functional/knife/exec_spec.rb b/spec/functional/knife/exec_spec.rb
index 838d15671c..74d006a8b8 100644
--- a/spec/functional/knife/exec_spec.rb
+++ b/spec/functional/knife/exec_spec.rb
@@ -21,7 +21,7 @@ require "tiny_server"
describe Chef::Knife::Exec do
before(:all) do
- @server = TinyServer::Manager.new#(:debug => true)
+ @server = TinyServer::Manager.new #(:debug => true)
@server.start
end
diff --git a/spec/unit/knife/cookbook_site_share_spec.rb b/spec/unit/knife/cookbook_site_share_spec.rb
index 5ac48539e4..823eff8b04 100644
--- a/spec/unit/knife/cookbook_site_share_spec.rb
+++ b/spec/unit/knife/cookbook_site_share_spec.rb
@@ -199,8 +199,8 @@ describe Chef::Knife::CookbookSiteShare do
response_text = Chef::JSONCompat.to_json({ :system_error => "Your call was dropped", :reason => "There's a map for that" })
allow(@upload_response).to receive(:body).and_return(response_text)
allow(@upload_response).to receive(:code).and_return(500)
- expect(@knife.ui).to receive(:error).with(/#{Regexp.escape(response_text)}/)#.ordered
- expect(@knife.ui).to receive(:error).with(/Unknown error/)#.ordered
+ expect(@knife.ui).to receive(:error).with(/#{Regexp.escape(response_text)}/) #.ordered
+ expect(@knife.ui).to receive(:error).with(/Unknown error/) #.ordered
expect { @knife.run }.to raise_error(SystemExit)
end