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

Version Path
cranium-0.8.1 features/step_definitions/execution_steps.rb
cranium-0.8 features/step_definitions/execution_steps.rb
cranium-0.7 features/step_definitions/execution_steps.rb
cranium-0.6.1 features/step_definitions/execution_steps.rb
cranium-0.5 features/step_definitions/execution_steps.rb
cranium-0.4.3 features/step_definitions/execution_steps.rb
cranium-0.4.2 features/step_definitions/execution_steps.rb
cranium-0.4.1 features/step_definitions/execution_steps.rb
cranium-0.4 features/step_definitions/execution_steps.rb
cranium-0.3.1 features/step_definitions/execution_steps.rb
cranium-0.3.0 features/step_definitions/execution_steps.rb
cranium-0.2.1 features/step_definitions/execution_steps.rb
cranium-0.2.0 features/step_definitions/execution_steps.rb