thoughtbot / fake_stripe

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

TRAVIS issue only #80

Closed fringify closed 1 month ago

fringify commented 7 years ago

I have below error on my travis server. It's fine on my local. NoMethodError: undefined method `closed?' for nil:NilClass

the code that reports is something like this.

FakeStripe.stub_stripe
Stripe::Token.create(last4: "9191", exp_year: 1984).id
srt32 commented 7 years ago

Does your code call closed? on a Stripe object (perhaps on an invoice?)?

Can you confirm you have the same environment / config set up on Travis as you do locally?

stefannibrasil commented 1 month ago

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