Formalize some patterns in cli specs (#28255)
This commit is contained in:
9
spec/support/command_line_helpers.rb
Normal file
9
spec/support/command_line_helpers.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module CommandLineHelpers
|
||||
def output_results(*args)
|
||||
output(
|
||||
include(*args)
|
||||
).to_stdout
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user