Exception: ConvenientService::RSpec::Matchers::Classes::Results::Base::Exceptions::InvalidStep
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::RSpec::Matchers::Classes::Results::Base::Exceptions::InvalidStep
- Defined in:
- lib/convenient_service/rspec/matchers/classes/results/base/exceptions.rb
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_with_kwargs(step:) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/exceptions.rb', line 22 def initialize_with_kwargs(step:) = <<~TEXT Step `#{step}` is NOT valid. `of_step` only accepts a `Class` or a `Symbol`. For example: be_success.of_step(ReadFileContent) be_success.of_step(:validate_path) be_success.of_step(:result) If you need to confirm that `result` has NO step - use `without_step` instead. be_success.without_step TEXT initialize() end |