Displaying 1 result from an estimated 1 matches for "7f9674b4".
2007 Sep 21
3
Standardize environment between specs containing class defs
I have some specs that involve the use of eval and class definitions to
test code generation. I want to always start with a clean slate so none
of my tests fail or succeed incorrectly due to artifacts left over from
previous specs.
Example of my situation
Spec 1 defines
class Fish
class Cod < Fish
Spec 2 defines
class Animal
class Cod < Animal
In this situation the