Sha256: 7eb9bd96e6f3d184cf9122633905a435860f4c1b31ccdd59f0380476aec58015

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 KB

Contents

########################################################################################################################
#
# Variation on Aruba's output steps
#
########################################################################################################################

Then /^the stderr contains "([^"]*)"$/ do |partial_output|
  all_stderr.should include(partial_output)
end

Then /^the stderr contains:$/ do |partial_output|
  all_stderr.should include(partial_output)
end

Then /^the stderr contains exactly:$/ do |exact_output|
  all_stderr.should == exact_output
end

Then /^the stderr does not contain "([^"]*)"$/ do |partial_output|
  all_stderr.should_not include(partial_output)
end

Then /^the stderr does not contain:$/ do |partial_output|
  all_stderr.should_not include(partial_output)
end

Then /^the stderr from "([^"]*)" contains "([^"]*)"$/ do |cmd, partial_output|
  stderr_from(cmd).should include(partial_output)
end

Then /^the stderr from "([^"]*)" does not contain "([^"]*)"$/ do |cmd, partial_output|
  stderr_from(cmd).should_not include(partial_output)
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cuken-0.1.22 lib/cuken/cucumber/output/stderr.rb
cuken-0.1.21 lib/cuken/cucumber/output/stderr.rb
cuken-0.1.20 lib/cuken/cucumber/output/stderr.rb
cuken-0.1.19 lib/cuken/cucumber/output/stderr.rb
cuken-0.1.18 lib/cuken/cucumber/output/stderr.rb
cuken-0.1.17 lib/cuken/cucumber/output/stderr.rb
cuken-0.1.16 lib/cuken/cucumber/output/stderr.rb
cuken-0.1.15 lib/cuken/cucumber/output/stderr.rb