Sha256: 089c809d8dbd5e67fa18ec5af64444d917e89cb6d1ec4d8c8815acb8222d6ca9
Contents?: true
Size: 617 Bytes
Versions: 13
Compression:
Stored size: 617 Bytes
Contents
Given /^the definition is executed(?: again)?$/ do step "I execute the definition" end When /^I execute the definition(?: again)?$/ do execute_definition end Then /^the process should exit successfully$/ do expect(result_code).to eq(0), "Expected script exit code to be 0, but received #{result_code}\n\n#{script_output}\n" end Then /^the process should exit with an error$/ do expect(result_code).to eq(1), "Expected script exit code to be 1, but received #{result_code}\n\n#{script_output}\n" end Then /^the error message should contain:$/ do |message| expect(error_output).to include message end
Version data entries
13 entries across 13 versions & 1 rubygems