11 lines
278 B
Ruby
11 lines
278 B
Ruby
When /^I run Flowerbox with "([^"]*)"$/ do |arguments|
|
|
command = %{bundle exec bin/flowerbox test #{arguments} --pwd #{@root} 2>&1}
|
|
puts command
|
|
@output = %x{#{command}}
|
|
|
|
puts @output
|
|
|
|
raise StandardError.new("Flowerbox failed: #{@output}") if $?.exitstatus != 0
|
|
end
|
|
|