#karina-6458_code

1 messages ¡ Page 1 of 1 (latest)

wet plumeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1229883532281643048

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

lusty lynxBOT
fallen hollow
#

Can you try printing Stripe::StripeClient.new and see if it returns any error?

flint cedar
#

i don't think so but i will try

#

yup it seems fine

#

i can run it and stripe_object is properly populated

fallen hollow
#

Are you printing that while running rspec

flint cedar
#

i'm prying in and running it

#

reading through the github repo self.class.current_thread_context.last_responses appears to be {}

#

oh wait, first last_responses is nil, then i run the code, and then last_responses is {}

#

so it does seem to do something with last responses

fallen hollow
#

I haven't played around with rspec much recently. Especially with StripeClient so not sure what's expected