summaryrefslogtreecommitdiff
path: root/spec/unit/provider/service/macosx_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-02 11:11:35 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-02 11:13:54 -0700
commit77f8739a4741e2370e40ec39345a92a6ea393a1a (patch)
treebcf3c9a12556ce1fd18a83cd5f68cd24d36a1180 /spec/unit/provider/service/macosx_spec.rb
parent90a74a80196725c4198b6042e8485d68c70777ac (diff)
downloadchef-77f8739a4741e2370e40ec39345a92a6ea393a1a.tar.gz
fix Layout/AlignArgumentslcg/new-chefstyle
this is using: Layout/AlignArguments: Enabled: true EnforcedStyle: with_fixed_indentation the default style can use really excessive whitespace. on starting lines which are already long, it fully indents across to where the arguments start and then begins the line there. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/provider/service/macosx_spec.rb')
-rw-r--r--spec/unit/provider/service/macosx_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/service/macosx_spec.rb b/spec/unit/provider/service/macosx_spec.rb
index e11cf6154e..420fd329f6 100644
--- a/spec/unit/provider/service/macosx_spec.rb
+++ b/spec/unit/provider/service/macosx_spec.rb
@@ -85,7 +85,7 @@ describe Chef::Provider::Service::Macosx do
allow(provider).to receive(:shell_out)
.with(/(#{su_cmd} '#{cmd}'|#{cmd})/, default_env: false)
.and_return(double("Status",
- stdout: launchctl_stdout, exitstatus: 0))
+ stdout: launchctl_stdout, exitstatus: 0))
allow(File).to receive(:exists?).and_return([true], [])
allow(provider).to receive(:shell_out!)
.with(/plutil -convert xml1 -o/, default_env: false)