Matt-Yorkley
4080e7daa4
Add comments in StripeJS mock
2020-09-19 12:20:55 +01:00
Matt-Yorkley
cca8f9faf6
Add missing behaviour in StripeJS mock
2020-09-19 12:20:55 +01:00
Matt-Yorkley
368772dad2
Add another missing method to StripeJS mock
...
Our Angular code calls this method in some tests and expects a Promise object with a hash describing a payment method.
2020-09-19 00:39:39 +01:00
Matt-Yorkley
857f4e3a37
Add missing method to StripeJS mock
...
Our Angular code calls this method for interacting with live form validations and messages. We don't really need to use in tests, it just needs to exist otherwise the specs fail.
2020-09-19 00:39:39 +01:00
Matt-Yorkley
67d136548f
Update form elements to more accurately reflect actual Stripe form
...
These attributes more closely reflect the actual form injected by Stripe. The additional attributes are also useful for selecting elements in tests
2020-09-19 00:39:39 +01:00
Matt-Yorkley
4c77c41533
Remove unused postal field from form
2020-09-19 00:39:39 +01:00
Matt-Yorkley
49bd9bd778
Import StripeJS mock from fake_stripe gem
...
This is the original from https://github.com/thoughtbot/fake_stripe/blob/v0.3.0/lib/fake_stripe/assets/v3.js
2020-09-19 00:39:39 +01:00
luisramos0
a57504ba1f
Bring api_helper.image from spree_api to support spree/api/products_controller_spec
2019-07-31 09:36:48 +01:00