Class: MiniTest::Unit::TestCase
- Inherits:
-
Object
- Object
- MiniTest::Unit::TestCase
show all
- Includes:
- Wrong
- Defined in:
- lib/wrong/adapters/minitest.rb
Constant Summary
Constants included
from Wrong
Wrong::VERSION
Instance Method Summary
collapse
Methods included from Wrong
config, config=, load_config
#assert, #deny, #failure_message, #summary
#capturing, #rescuing
Instance Method Details
#aver(valence, explanation = nil, depth = 0) ⇒ Object
10
11
12
13
|
# File 'lib/wrong/adapters/minitest.rb', line 10
def aver(valence, explanation = nil, depth = 0)
self._assertions += 1 super(valence, explanation, depth + 1) end
|
#failure_class ⇒ Object
6
7
8
|
# File 'lib/wrong/adapters/minitest.rb', line 6
def failure_class
MiniTest::Assertion
end
|