Sha256: 06051c18ec4bbd9c0146be622a43c3b321a4f39b1a16abb3fcbb65bd9bec44da

Contents?: true

Size: 594 Bytes

Versions: 1

Compression:

Stored size: 594 Bytes

Contents

Then /^the output should contain ping pong exchange$/ do
  step %q{the exit status should be 0}
  step %q{the output should contain "sent ping to server"}
  step %q{the output should contain "received pong from server"}
end

Then /^the output should contain consumed workload$/ do
  step %q{the exit status should be 0}
  step %q{the output should contain "received workload"}
end

Given /^a named pipe "(.*?)"$/ do |path|
  if RUBY_PLATFORM.downcase.include?("mswin")
    f = File.open(path, 'w+')
    f.close
  else
    system "/usr/bin/mkfifo", path
  end
  at_exit { File.unlink(path) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uvrb-0.1.0 features/step_definitions/additional_cli_steps.rb