If you're using Minitest, you'll want to plunk this into a test helper:
class Minitest::Test
include Mocktail::DSL
def teardown
super
Mocktail.reset
end
end
Finally, the real work of faking things can begin.
Incorporate Mocktail into your test-driven development workflow.
Leverage Mocktail's metaprogramming essence for other testing utilities.