thoughtbot/fake_stripe

TRAVIS issue only

fringify opened this issue · 2 comments

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

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?