@@ -984,7 +984,7 @@ def stub_formula_with_service_sockets(sockets_var)
984984 expect ( command ) . to eq ( [ "#{ HOMEBREW_PREFIX } /opt/#{ name } /bin/beanstalkd" , "test" ] )
985985 end
986986
987- it "returns nil on Linux" , :needs_linux do
987+ it "returns empty on Linux" , :needs_linux do
988988 f = stub_formula do
989989 service do
990990 run macos : [ opt_bin /"beanstalkd" , "test" ]
@@ -993,7 +993,7 @@ def stub_formula_with_service_sockets(sockets_var)
993993 end
994994
995995 command = f . service . command
996- expect ( command ) . to be_nil
996+ expect ( command ) . to be_empty
997997 end
998998
999999 it "returns @run data on macOS" , :needs_macos do
@@ -1008,7 +1008,7 @@ def stub_formula_with_service_sockets(sockets_var)
10081008 expect ( command ) . to eq ( [ "#{ HOMEBREW_PREFIX } /opt/#{ name } /bin/beanstalkd" , "test" ] )
10091009 end
10101010
1011- it "returns nil on macOS" , :needs_macos do
1011+ it "returns empty on macOS" , :needs_macos do
10121012 f = stub_formula do
10131013 service do
10141014 run linux : [ opt_bin /"beanstalkd" , "test" ]
@@ -1017,7 +1017,7 @@ def stub_formula_with_service_sockets(sockets_var)
10171017 end
10181018
10191019 command = f . service . command
1020- expect ( command ) . to be_nil
1020+ expect ( command ) . to be_empty
10211021 end
10221022
10231023 it "returns appropriate @run data on Linux" , :needs_linux do
0 commit comments