elm-city-craftworks/practicing-ruby-web — pull request #213 by stephenorr (2014-02-02 13:38:11+00:00)
Title: Skip Stripe-related tests if no API key is provided

Implements a new test_helper method, skip_if_no_stripe_key, which
works as per skip_on_travis but checks for the presence of
STRIPE_SECRET_KEY in ENV.

This commit also adds code to use this new test_helper method in
the two Stripe-related tests.