Class: MiniTest::Unit::TestCase
- Includes:
- Wrong::Assert, Wrong::Helpers
- Defined in:
- lib/wrong/adapters/minitest.rb
Instance Method Summary collapse
Methods included from Wrong::Helpers
Methods included from Wrong::Assert
#assert, #deny, #failure_message
Instance Method Details
#aver(valence, explanation = nil, depth = 0) ⇒ Object
12 13 14 15 |
# File 'lib/wrong/adapters/minitest.rb', line 12 def aver(valence, explanation = nil, depth = 0) self._assertions += 1 # increment minitest's assert count super(valence, explanation, depth + 1) # apparently this passes along the default block end |
#failure_class ⇒ Object
8 9 10 |
# File 'lib/wrong/adapters/minitest.rb', line 8 def failure_class MiniTest::Assertion end |