thoughtbot / fake_stripe

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

Update `count` Field to `total_count` in All Fixtures #63

Closed oldbonsai closed 1 month ago

oldbonsai commented 8 years ago

The API changed as of version 2014-03-28, eliminating the count field on all objects and replacing it with the total_count field. The fixtures contained the old name, so this changes all the fixtures to reflect the new field name.

See https://stripe.com/docs/upgrades#2014-03-28.

oldbonsai commented 8 years ago

I’m happy to throw tests into the stub_app_spec for the presence of the total_count field on a lot of the responses — let me know. :)

stefannibrasil commented 1 month ago

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