add a test for explicit shell invocations using Kernel.open

This commit is contained in:
erik-krogh
2022-10-07 14:06:30 +02:00
parent de3b15ebe9
commit 186205bd4b

View File

@@ -17,5 +17,7 @@ class UsersController < ActionController::Base
Kernel.open("this is #{fine}") # GOOD
Kernel.open("#{this_is} bad") # BAD
open("| #{this_is_an_explicit_command} foo bar") # GOOD
end
end