summaryrefslogtreecommitdiff
path: root/spec/unit/daemon_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-08-09 12:21:59 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-08-16 18:41:25 -0700
commitec4d196b7bdbcf3533a18b28f7a143b0004d0d27 (patch)
tree3944fad12ecc611183f6a01a3c0123ab1ae77677 /spec/unit/daemon_spec.rb
parent82ee3bd4f6a2d16a4d5d50759f31bd770e6aa875 (diff)
downloadchef-ec4d196b7bdbcf3533a18b28f7a143b0004d0d27.tar.gz
autofixing Style/IndentAssignment cop
Diffstat (limited to 'spec/unit/daemon_spec.rb')
-rw-r--r--spec/unit/daemon_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/daemon_spec.rb b/spec/unit/daemon_spec.rb
index e31ce7d151..ae3d626113 100644
--- a/spec/unit/daemon_spec.rb
+++ b/spec/unit/daemon_spec.rb
@@ -22,7 +22,7 @@ describe Chef::Daemon do
before do
if windows?
mock_struct = #Struct::Passwd.new(nil, nil, 111, 111)
- mock_struct = OpenStruct.new(:uid => 2342, :gid => 2342)
+ mock_struct = OpenStruct.new(:uid => 2342, :gid => 2342)
allow(Etc).to receive(:getpwnam).and_return mock_struct
allow(Etc).to receive(:getgrnam).and_return mock_struct
# mock unimplemented methods