…uting the ActiveRecord namespace any more than we need to.
Blocks passed to make now get called correctly, even inside a make_unsaved call. Calls to make inside a block passed to make_unsaved will save the object.
This is based on code and discussion with Roland Swingler (http://github.com/knaveofdiamonds), so credit to him.
… not happy with them, but you can't think of a nicer way, so you push them up to github, and only then do you work it out? Yeah, anyway.
…ested by technoweenie.
Turns out Ruby's srand doesn't work the way you'd think. The seed value it returns is the initial value used to see the generator, not the current seed value. That means you can't use it to save and restore your spot in the sequence.
…have Test::Unit automatically reset Sham before each test.
…sed to sham blocks, autotest support.