Exception: Smartest::PendingPassedError
- Inherits:
-
AssertionFailed
- Object
- StandardError
- Error
- AssertionFailed
- Smartest::PendingPassedError
- Defined in:
- lib/smartest/errors.rb
Instance Method Summary collapse
-
#initialize(reason = nil) ⇒ PendingPassedError
constructor
A new instance of PendingPassedError.
Constructor Details
#initialize(reason = nil) ⇒ PendingPassedError
Returns a new instance of PendingPassedError.
88 89 90 |
# File 'lib/smartest/errors.rb', line 88 def initialize(reason = nil) super("expected pending test to fail, but it passed: #{StatusReason.normalize(reason)}") end |