elm-city-craftworks/practicing-ruby-web — pull request #154 by sandal (2013-08-14 02:10:31+00:00)
Title: Add some more comprehensive unit tests for subscribing

Until we add some tests for the stripe.js stuff, these unit tests should help cover the actual stripe interactions. I added some warning documentation to the controller to prevent accidental changes there, but since it's all just basically dispatching to `payment_gateway.subscribe`, the unit tests in this pull request should go a long way towards alerting us to any major issues w. Stripe.