You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
We used to mention RSpec 2 there which is long gone.
Also, this note was misleading:
> If you want to declare an example `pending` and bypass the `before`
hooks as well, you can pass `:pending => true`
In the following spec:
RSpec.describe do
before { puts 'before!' }
it do
pending 'oops'
fail 'djosdkfjos'
end
it 'pending metadata', pending: true do
fail 'dferrerere'
end
end
the hook is run for both metadata and in-example `pending`:
before!
pending metadata (PENDING: No reason given)
before!
example at ./spec/a_spec.rb:4 (PENDING: oops)
0 commit comments