Sha256: 81fc65c06e9f4704d507061f9cd8c30c8fa87940366532ad28e81b7decd461ce

Contents?: true

Size: 292 Bytes

Versions: 16

Compression:

Stored size: 292 Bytes

Contents

Then /^the following should raise an? ([\w:]+):$/ do |error, step|
  expect { steps step }.to raise_error(error.constantize)
end

Then /^the following should raise an? ([\w:]+) with "([^"]*)":$/ do |error, message, step|
  expect { steps step }.to raise_error(error.constantize, message)
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
pickle-0.9.0 features/step_definitions/raise_error_steps.rb
pickle-0.8.0 features/step_definitions/raise_error_steps.rb
pickle-0.7.2 features/step_definitions/raise_error_steps.rb
pickle-0.7.1 features/step_definitions/raise_error_steps.rb
pickle-0.7.0 features/step_definitions/raise_error_steps.rb
pickle-0.6.2 features/step_definitions/raise_error_steps.rb
pickle-0.6.1 features/step_definitions/raise_error_steps.rb
pickle-0.6.0 features/step_definitions/raise_error_steps.rb
pickle-0.5.5 features/step_definitions/raise_error_steps.rb
pickle-0.5.4 features/step_definitions/raise_error_steps.rb
pickle-0.5.3 features/step_definitions/raise_error_steps.rb
pickle-0.5.2 features/step_definitions/raise_error_steps.rb
spbtv_pickle-0.5.2 features/step_definitions/raise_error_steps.rb
spbtv_pickle-0.5.1 features/step_definitions/raise_error_steps.rb
pickle-0.5.1 features/step_definitions/raise_error_steps.rb
pickle-0.5.0 features/step_definitions/raise_error_steps.rb