Skip to content

Commit

Permalink
rm this stub in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Dec 13, 2024
1 parent 693f2f5 commit 99deff4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nginx_stage/spec/generators/pun_config_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

allow(Etc).to receive(:getpwnam).with(test_user).and_return(Struct.new(*etc_stub.keys).new(*etc_stub.values))
allow(Etc).to receive(:getgrgid).with(test_user_gid).and_return(Struct.new(*etc_stub.keys).new(*etc_stub.values))
allow_any_instance_of(NginxStage::User).to receive(:get_groups).and_return([test_user])
end

it 'has the correct options' do
Expand Down

0 comments on commit 99deff4

Please sign in to comment.