Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the before/after hooks's symbol on RSpec 2 to the one on RSpec 3. #1177

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

junaruga
Copy link
Contributor

Rename the old symbol names.

Rename :all to :context .
Rename :each to :example .

As a note, there is no used around hook.

Reference:
https://relishapp.com/rspec/rspec-core/v/2-99/docs/hooks/before-and-after-hooks
https://relishapp.com/rspec/rspec-core/v/3-10/docs/hooks/before-and-after-hooks

@junaruga
Copy link
Contributor Author

@sodabrew Could you take a look this PR?

@sodabrew sodabrew merged commit b439a89 into brianmario:master Mar 22, 2021
@junaruga junaruga deleted the wip/rspec3-hook-symbols branch March 22, 2021 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants