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

Back to skipping after hooks on one model #21

Merged
merged 1 commit into from
Apr 18, 2022
Merged

Conversation

indirect
Copy link
Contributor

@indirect indirect commented Apr 18, 2022

at least by default, you can control it with an argument to the scrub() method now, as well as the env var.

at least by default, you can control it with an argument to the scrub()
method now, as well as the env var.
@indirect indirect requested review from maxfierke and a user April 18, 2022 02:57
@indirect
Copy link
Contributor Author

Copy link

@maxfierke maxfierke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:octocat: seems good to restore this behavior since it was a breaking change, but the inconsistency between behavior of before and after hooks and when they're needed to run makes me think there are probably more classes of hooks needed here

@indirect
Copy link
Contributor Author

Yeah, I guess we're just recapitulating the history of RSpec here, before, after, wait do we mean "each", or "all", oh no.

@indirect indirect merged commit 271475f into main Apr 18, 2022
@indirect indirect deleted the skip-after-one-model branch April 18, 2022 17:43
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