-
Notifications
You must be signed in to change notification settings - Fork 216
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
Top level tear_down ignored unless set_up also present #111
Comments
Obviously crappy coding... |
Fixed. Funnily enough, there are a few lines of code in there (not the bug obviously :P) that I remember you helping with. |
Released 1.9.4. |
Thanks for the quick fix! 😄 Wow, that must have been years ago. Time flies. I've seen a couple of variations of this bug in various codebases recently, and have become a convert to @simonrussell's approach of (almost) always using |
Yeah, I like to use fetch in tests, because otherwise you risk getting nil == nil false positives. |
In the following code,
tear_down
is never executed:In order to have it execute, I need to add an empty
set_up
call at the top level:Versions of things:
The text was updated successfully, but these errors were encountered: