Exception: ConvenientService::RSpec::PrimitiveHelpers::Classes::IgnoringException::Exceptions::IgnoredExceptionIsNotRaised

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/rspec/primitive_helpers/classes/ignoring_exception/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(exception:) ⇒ void



14
15
16
17
18
19
20
# File 'lib/convenient_service/rspec/primitive_helpers/classes/ignoring_exception/exceptions.rb', line 14

def initialize_with_kwargs(exception:)
  message = "    Exception `\#{exception}` is NOT raised. That is why it is NOT ignored.\n  TEXT\n\n  initialize(message)\nend\n"