This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,12 @@ class PendingExampleFixedError < StandardError; end
53
53
# end
54
54
#
55
55
# @note When using `pending` inside an example body using this method
56
- # hooks such as `before(:example) have already be run, this means that
57
- # a failure from the code in the `before` hook will prevent the example
58
- # from being considered as pending, as the example body wouldn't be
59
- # executed. If you need to consider hooks as pending as well you can use
60
- # the pending metadata as an alternative, e.g. `it "does something", pending: "message"`.
56
+ # hooks, such as `before(:example)`, have already be run. This means that
57
+ # a failure from the code in the `before` hook will prevent the example
58
+ # from being considered pending, as the example body would not be
59
+ # executed. If you need to consider hooks as pending as well you can use
60
+ # the pending metadata as an alternative, e.g.
61
+ # `it "does something", pending: "message"`.
61
62
def pending ( message = nil )
62
63
current_example = RSpec . current_example
63
64
You can’t perform that action at this time.
0 commit comments