Sha256: e1824c90f66471d34a4148e4903bd721de0a007390bd85a87378e393c211911a

Contents?: true

Size: 411 Bytes

Versions: 4

Compression:

Stored size: 411 Bytes

Contents

require 'rjobs/process'
require 'rjobs/job_handler'
require 'cucumber/rspec/doubles'
require 'aruba/api'
require 'aruba/hooks'
require 'aruba/reporting'

World(Aruba::Api)

Then /^show me the output$/ do
  puts all_stdout
end

Then /^each line of the output should match \/([^\/]*)\/$/ do |expected|
    all_stdout.split("\n")[0..-2].each do |line|
      # puts line
      line.should match expected
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rjobs-0.3.3.alpha features/step_definitions/listJobs_steps.rb
rjobs-0.3.2.alpha features/step_definitions/listJobs_steps.rb
rjobs-0.3.1.alpha features/step_definitions/listJobs_steps.rb
rjobs-0.3.0.alpha features/step_definitions/listJobs_steps.rb