thoughtbot/fake_braintree — pull request #25 by wonnage (2012-07-30 23:09:09+00:00)
Title: Transparent credit cards

Actual validation/error generation is a pain in the ass, but this will at least let you create a card given valid settings.