Sha256: f12022dc2b7fc9c69e9704d3a9e04455d71a6d3bb2a77ce8f414905c3fec58fa

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

require "aggregate_assertions/assertion_aggregator"

module AggregateAssertions
  # Aggregate assertions for all test cases in a Minitest::Test class.
  module EachTest
    def capture_exceptions(&block)
      super do
        AssertionAggregator.wrap(&block)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aggregate_assertions-0.2.0 lib/aggregate_assertions/each_test.rb