Maikel Linke
6317fe1b71
Disable RSpec monkey patching
2024-05-09 12:24:41 +10:00
Maikel Linke
bd6b0ddbf3
Enforce RSpec expect(..).not_to over to_not
2024-03-07 16:57:54 +11:00
David Cook
ea0967e22e
Safely autocorrect Capybara/NegationMatcher
2024-03-06 09:20:22 +11:00
Neal Chambers
dc607b654d
Fix Style/HashSyntax
2023-10-24 08:49:34 +09:00
Mohamed ABDELLANI
ebc3073604
use Customer#visible on the customers listing endpoints
...
Update app/models/customer.rb
Co-authored-by: Maikel <maikel@email.org.au >
Update spec/models/customer_spec.rb
Co-authored-by: Maikel <maikel@email.org.au >
Update spec/models/customer_spec.rb
Co-authored-by: Maikel <maikel@email.org.au >
authorize created_manually field to be set on APIv1
2023-06-15 12:02:45 +10:00
Maikel Linke
cb64361096
Remove old feature spec tag
...
Nowadays all system specs are run in a real browser.
2023-02-24 15:10:19 +11:00
cyrillefr
ba30606052
Remove I18n keys from consumer specs
2023-02-16 14:33:17 +01:00
Cillian O'Ruanaidh
62cd507fb9
Stub Spree::Config.stripe_connect_enabled instead of changing it before and back after tests
...
It's less code and sometimes there can be issues when config cache values are changed.
Co-authored-by: Maikel <maikel@email.org.au >
2022-10-21 17:21:31 +01:00
Jean-Baptiste Bellet
0bb90d764c
Allow charges is disabled if no saved cards marked as default
2022-07-26 14:42:55 +02:00
Jean-Baptiste Bellet
34c8748b9c
Mark the next credit cards with payment profile as default
2022-07-26 14:42:55 +02:00
Matt-Yorkley
99b75c9a6a
Adjust usage of remote-method links on credit card deletion
2022-01-08 16:54:23 +00:00
Maikel Linke
cef1092a2d
Avoid state leakage from one spec to others
...
Activating Stripe meant that other specs were trying to load the Stripe
JS code without setting up Stripe correctly. That lead to JS errors in
the console.
2021-10-15 16:34:56 +11:00
Maikel Linke
35ed7e852d
Remove errornous quotes from alert text
2021-10-11 16:43:14 +11:00
Maikel Linke
b008116734
Cover alert text in spec
...
The `strip` method removes a trailing newline at the end.
2021-10-11 16:41:52 +11:00
filipefurtad0
97a79a77e1
Updates/moves consumer/account/cards_spec into system
2021-10-08 14:29:41 +01:00