Remove unused let

This commit is contained in:
David Rodríguez
2025-10-21 16:29:15 +02:00
parent 58851a8e67
commit 94bc787283

View File

@@ -52,9 +52,10 @@ RSpec.describe StripeAccount do
context "if the account is also associated with another Enterprise" do
let!(:enterprise2) { create(:enterprise) }
let!(:another_stripe_account) {
before do
create(:stripe_account, enterprise: enterprise2, stripe_user_id:)
}
end
it "Doesn't make a Stripe API disconnection request " do
expect(Stripe::OAuth).not_to receive(:deauthorize)