From 99deff445b37aec67681b041d5908976a6a9b943 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Fri, 13 Dec 2024 12:00:17 -0500 Subject: [PATCH] rm this stub in spec --- nginx_stage/spec/generators/pun_config_generator_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/nginx_stage/spec/generators/pun_config_generator_spec.rb b/nginx_stage/spec/generators/pun_config_generator_spec.rb index 27dd35279..a03a1570c 100644 --- a/nginx_stage/spec/generators/pun_config_generator_spec.rb +++ b/nginx_stage/spec/generators/pun_config_generator_spec.rb @@ -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