Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Fix documentation of restriction on suite hooks #2285

Merged
merged 1 commit into from
Jul 7, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/rspec/core/hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ module Hooks
#
# @note The `:example` and `:context` scopes are also available as
# `:each` and `:all`, respectively. Use whichever you prefer.
# @note The `:scope` alias is only supported for hooks registered on
# @note The `:suite` scope is only supported for hooks registered on
# `RSpec.configuration` since they exist independently of any
# example or example group.
def before(*args, &block)
Expand Down Expand Up @@ -265,7 +265,7 @@ def prepend_before(*args, &block)
#
# @note The `:example` and `:context` scopes are also available as
# `:each` and `:all`, respectively. Use whichever you prefer.
# @note The `:scope` alias is only supported for hooks registered on
# @note The `:suite` scope is only supported for hooks registered on
# `RSpec.configuration` since they exist independently of any
# example or example group.
def after(*args, &block)
Expand Down