Sha256: d3e4b94158afd003581922875e115e0d93df7c9dd166a2ca6a57b015781630f5

Contents?: true

Size: 585 Bytes

Versions: 1

Compression:

Stored size: 585 Bytes

Contents

Then /^the output should contain all of these:$/ do |table|
  table.raw.flatten.each do |string|
    assert_partial_output(string)
  end
end

Then /^the output should not contain any of these:$/ do |table|
  table.raw.flatten.each do |string|
    combined_output.should_not =~ compile_and_escape(string)
  end
end

Then /^the example(s)? should( all)? pass$/ do |*|
  Then %q{the output should contain "0 failures"}
  Then %q{the exit status should be 0}
end

Then /^the file "([^"]*)" should contain:$/ do |file, partial_content|
  check_file_content(file, partial_content, true)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-core-2.4.0 features/step_definitions/additional_cli_steps.rb