Class: RLab::Assert::MinitestIntegration::Observer
- Inherits:
-
Object
- Object
- RLab::Assert::MinitestIntegration::Observer
- Defined in:
- lib/rlab/assert/minitest_integration.rb
Instance Method Summary collapse
Instance Method Details
#update(assertion) ⇒ Object
25 26 27 28 29 |
# File 'lib/rlab/assert/minitest_integration.rb', line 25 def update assertion return unless assertion.failed? error = assertion.to_error raise Minitest::Assertion, error. end |