Deprecate ExampleGroupMethods#before_eval
Reported by Brian Takita | February 11th, 2008 @ 07:27 AM
We used to use before_eval for the Rails plugin. This has fallen out of favor due to the ability to define before and after blocks in supeclasses.
I would like to have before_eval removed so the describe method can be trimmed down.
I suppose we should check to see if anybody is still using before_eval.
Comments and changes to this ticket
-
David Chelimsky February 12th, 2008 @ 01:50 AM
- → State changed from new to open
Let's just add a deprecation warning for now and plan to remove it for 1.2.0
-

Brian Takita May 25th, 2008 @ 08:57 PM
I'm not sure how to add the deprecation warning because its a method that meant to get redefined.
If a deprecation cannot be added, it would probably be safe to remove it and provide documentation on using the correct callback.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Behaviour Driven Development for Ruby.
