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

Remove superfluous :each from before hooks in RSpec examples #748

Merged
merged 1 commit into from
Nov 28, 2020

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Nov 28, 2020

Summary

Remove superfluous :each from before hooks in RSpec examples

Details

In all the examples in the cucumber features, I replaced before(:each)
with before, because :each is the default.

Motivation and Context

It is generally recommended not to use explicit :each and our examples
should reflect best practices.

How Has This Been Tested?

CI

Types of changes

  • Update documentation

@mvz mvz merged commit 6d29c7f into master Nov 28, 2020
@mvz mvz deleted the clean-up-before-blocks-in-features branch November 28, 2020 12:18
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.

1 participant