Method: #beaker_command

Defined in:
lib/beaker/tasks/quick_start.rb

#beaker_command(system_args) ⇒ Object



86
87
88
89
90
91
92
93
# File 'lib/beaker/tasks/quick_start.rb', line 86

def beaker_command(system_args)
  cmd_parts = []
  cmd_parts << "beaker"
  cmd_parts << "--hosts #{system_args[:hosts]}"
  cmd_parts << "--pre-suite #{system_args[:pre_suite]}"
  cmd_parts << "--tests #{system_args[:tests]}"
  cmd_parts.flatten.join(" ")
end