module RSpec::Core::Pending
def pending(*args)
- Note: - `before(:each)` hooks are eval'd when you use the `pending`
Parameters:
-
message
(String
) -- optional message to add to the summary report.
Overloads:
-
pending(message, &block)
-
pending(message)
-
pending()
def pending(*args) current_example = RSpec.current_example if current_example Pending.mark_pending! current_example, args.first else raise "`pending` may not be used outside of examples, such as in " + "before(:all). Maybe you want `skip`?" end end