Sha256: 5bb7150c07a834b7c1fcc97a8872706e8fe2c01a5ea8d3f2f42244f02baa6116
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
require 'ae' AE.assertion_error = ::MiniTest::Assertion # MiniTest tracks assertion counts internally in it's Unit class via the # +assertion_count+ attribute. To work with AE we need add in AE's assertion # total by overriding the +assertion_count+ method. module MiniTest #:nodoc: class Unit #:nodoc: def assertion_count @assertion_count + AE::Assertor.counts[:total] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ae-1.7.0 | lib/ae/adapters/minitest.rb |