docbrown/spec/system/user
Chien-Wei Huang (Michael) f7a9f0d2b4
validate payment pointer (#11702)
* Add validation for payment_pointer and clean its space before save

* Add test for payment_pointer

* fix payment pointer regexp

* fix test

* Remove space with strip

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

* Remove redundant test

* Refactor clean_payment_pointer to strip_payment_pointer
- Move callback from before_save to before_validation

* Refactor PAYMENT_POINTER_REGEXP

* style: remove last comment in regexp

* fix typo

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
2020-12-04 12:00:25 -05:00
..
user_edits_customization_spec.rb Improve information architecture of Settings (#11347) 2020-11-24 12:26:06 -08:00
user_edits_extensions_spec.rb validate payment pointer (#11702) 2020-12-04 12:00:25 -05:00
user_edits_profile_spec.rb Conditionally hide onboarding task card (#11259) 2020-11-04 11:04:34 -08:00
user_self_destroy_spec.rb Conditionally hide onboarding task card (#11259) 2020-11-04 11:04:34 -08:00
user_settings_response_templates_spec.rb Improve information architecture of Settings (#11347) 2020-11-24 12:26:06 -08:00
view_user_comments_spec.rb [Crayons] Update comments card in Profile (#11199) 2020-11-04 10:45:17 -08:00
view_user_index_spec.rb Profile UI update (#11357) 2020-11-12 08:47:04 +01:00