B
Ben Johnson
I am writing tests for configuration options that make class level
changes. Because they are class level, the changes get carried over to
the next test. What would be the best way to accomplish "transactions"
for ruby constants. Basically a way to rollback any class level changes
that were made during the test.
Thanks!
changes. Because they are class level, the changes get carried over to
the next test. What would be the best way to accomplish "transactions"
for ruby constants. Basically a way to rollback any class level changes
that were made during the test.
Thanks!