lib/convenient_service/rspec/matchers/classes/results/base/exceptions.rb in convenient_service-0.16.0 vs lib/convenient_service/rspec/matchers/classes/results/base/exceptions.rb in convenient_service-0.17.0

- old
+ new

@@ -12,11 +12,11 @@ # @api private # # @param step [ConvenientService::Service, Symbol] # @return [void] # - def initialize(step:) + def initialize_with_kwargs(step:) message = <<~TEXT Step `#{step}` is NOT valid. `of_step` only accepts a Class or a Symbol. For example: @@ -27,10 +27,10 @@ If you need to confirm that `result` has NO step - use `without_step` instead. be_success.without_step TEXT - super(message) + initialize(message) end end end end end