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

Apply config hooks to previously defined groups. #2189

Merged
merged 1 commit into from
Mar 6, 2016

Conversation

myronmarston
Copy link
Member

Fixes #1939.

@myronmarston myronmarston force-pushed the apply-hooks-to-groups-defined-before-them branch from 96866d6 to 3af9007 Compare March 4, 2016 07:30
@myronmarston myronmarston force-pushed the apply-hooks-to-groups-defined-before-them branch from 3af9007 to 84e92e2 Compare March 5, 2016 21:00
@myronmarston
Copy link
Member Author

Can someone from @rspec/rspec review this?

@JonRowe
Copy link
Member

JonRowe commented Mar 6, 2016

Awesome.

JonRowe added a commit that referenced this pull request Mar 6, 2016
…ore-them

Apply config hooks to previously defined groups.
@JonRowe JonRowe merged commit 5598c13 into master Mar 6, 2016
@JonRowe JonRowe deleted the apply-hooks-to-groups-defined-before-them branch March 6, 2016 08:49
myronmarston added a commit that referenced this pull request Mar 8, 2016
myronmarston added a commit that referenced this pull request Mar 8, 2016
…nition hooks.

This is important so that if you load any support files that
define hooks from within a definition hook, it can apply the
hooks to the already-defined example groups (as is now
supported via #2189). Without this change, the current group
being defined is not eligible to have newly loaded hooks
applied to it.
myronmarston added a commit that referenced this pull request Mar 8, 2016
…nition hooks.

This is important so that if you load any support files that
define hooks from within a definition hook, it can apply the
hooks to the already-defined example groups (as is now
supported via #2189). Without this change, the current group
being defined is not eligible to have newly loaded hooks
applied to it.
myronmarston added a commit that referenced this pull request Mar 8, 2016
…nition hooks.

This is important so that if you load any support files that
define hooks from within a definition hook, it can apply the
hooks to the already-defined example groups (as is now
supported via #2189). Without this change, the current group
being defined is not eligible to have newly loaded hooks
applied to it.
MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
…d-before-them

Apply config hooks to previously defined groups.
MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
…nition hooks.

This is important so that if you load any support files that
define hooks from within a definition hook, it can apply the
hooks to the already-defined example groups (as is now
supported via rspec#2189). Without this change, the current group
being defined is not eligible to have newly loaded hooks
applied to it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants