Sha256: 0078785d6bc6e1885c9fc258d904d423556da9ac19a7deab9d0e40b98c5a0f89

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 Bytes

Contents

require_relative "check_method"

module ConfidenceCheck
  module ForMinitest
    include ConfidenceCheck::CheckMethod
    def exception_klasses
      [::Minitest::Assertion]
    end

    module WithCapybara
      include ConfidenceCheck::CheckMethod
      include ConfidenceCheck::ForMinitest
      def exception_klasses
        super + [ ::Capybara::CapybaraError ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
confidence-check-1.0.1 lib/confidence_check/for_minitest.rb
confidence-check-1.0.0 lib/confidence_check/for_minitest.rb