Exception: RSpec::Clone::Error::PendingExpectation Private
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RSpec::Clone::Error::PendingExpectation
- Defined in:
- lib/r_spec/clone/error/pending_expectation.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Exception for pending expectations.
Class Method Summary collapse
-
.result(message) ⇒ nil
private
Write a pending expectation to STDOUT.
Class Method Details
.result(message) ⇒ nil
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns Write a pending expectation to STDOUT.
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/r_spec/clone/error/pending_expectation.rb', line 13 def self.result() ::Expresenter.call(true).with( actual: new(), definition: "raise exception #{self}", error: nil, expected: self, got: false, negate: true, level: :SHOULD ) end |