thoughtbot / fake_stripe

A Stripe fake so that you can avoid hitting Stripe servers in tests.
MIT License
401 stars 78 forks source link

Redefine dependency on `stripe` gem #56

Closed cllns closed 1 month ago

cllns commented 8 years ago

Right now the stripe gem is listed as a development dependency.

But it's actually a run-time dependency, since the instructions say to set Stripe.api_key and the Stripe constant is not defined (without adding the Stripe gem to my Gemfile).

It might be possible to remove the dependency on Stripe, I'm not sure.

(I'm using only Stripe.js, not the stripe gem, which is how I found this)

cllns commented 8 years ago

Also, the README will need to be updated, I think, to put fake_stripe in both :test and :development environments.

stefannibrasil commented 1 month ago

Closing this because fake_stripe has been deprecated: https://github.com/thoughtbot/fake_stripe/pull/154