mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-28 06:39:12 +00:00
stub realistic seller message
This commit is contained in:
parent
9acaf51307
commit
2d75d6286f
@ -38,7 +38,7 @@ module DiscourseDonations
|
||||
let(:stripe) { ::Stripe::Charge }
|
||||
|
||||
it 'has no rewards' do
|
||||
stripe.expects(:create).returns({ bummer: true })
|
||||
stripe.expects(:create).returns({ outcome: { seller_message: 'bummer' } })
|
||||
post :create
|
||||
expect(response_rewards).to eq({})
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user