Sha256: eb2234c83f854a086726cd8bb77a9d8ea508cae1f14e1e395c789c7fa709c518
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
module Workarea decorate Storefront::PlaceOrderIntegrationTest, with: :stripe do def test_payment_error_handling patch storefront.checkout_place_order_path, params: { payment: 'new_card', credit_card: { number: '2', month: 1, year: next_year, cvv: '999', stripe_token: '2' } } assert(response.ok?) assert_match('Payment', response.body) end end end
Version data entries
2 entries across 2 versions & 1 rubygems