summaryrefslogtreecommitdiff
path: root/spec/unit/daemon_spec.rb
diff options
context:
space:
mode:
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