Sha256: b15b82dec259d738aad0d817ee31987f6731298ae3dfefb1ceec0aebcfbd2adf

Contents?: true

Size: 713 Bytes

Versions: 4

Compression:

Stored size: 713 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module RSpec
    module PrimitiveHelpers
      module Classes
        class IgnoringException < Support::Command
          module Exceptions
            class IgnoredExceptionIsNotRaised < ::ConvenientService::Exception
              ##
              # @param exception [StandardError]
              # @return [void]
              #
              def initialize_with_kwargs(exception:)
                message = <<~TEXT
                  Exception `#{exception}` is NOT raised. That is why it is NOT ignored.
                TEXT

                initialize(message)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/rspec/primitive_helpers/classes/ignoring_exception/exceptions.rb
convenient_service-0.19.0 lib/convenient_service/rspec/primitive_helpers/classes/ignoring_exception/exceptions.rb
convenient_service-0.18.0 lib/convenient_service/rspec/primitive_helpers/classes/ignoring_exception/exceptions.rb
convenient_service-0.17.0 lib/convenient_service/rspec/primitive_helpers/classes/ignoring_exception/exceptions.rb