diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-09 12:30:13 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-16 18:41:25 -0700 |
commit | e792cfd2df516c13ae5ca6ce1eed2b8e10628581 (patch) | |
tree | c023c3f57afd482a517eded4d08fb1ae1be84437 /spec/unit | |
parent | 395b612eed722f0cbb395082aa7ea157d74d65e6 (diff) | |
download | chef-e792cfd2df516c13ae5ca6ce1eed2b8e10628581.tar.gz |
autofixing Style/SpaceBeforeComment cop
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/knife/cookbook_site_share_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |