1
0
Fork 0
discourse-custom-wizard-unl.../spec/components/custom_wizard
Faizaan Gagan f00d01c50f
FIX: ensure single incomplete submission existence (#136)
* created method to fetch incomplete submissions

* added new field 'updated_at' to submission schema

* Revert "created method to fetch incomplete submissions"

This reverts commit 15c65236e7.

* added logic to cleanup redundant incomplete submissions

* logic improvements and spec

* simplified the cleanup logic

* simplified the logic further

* early return to improve performance

* consolidated cleanup logic

* perform cleanup in wizard.update

* fixed issue

* minor fix

* use consistent naming
2021-08-02 13:01:49 +05:30
..
realtime_validations Added files used by github actions workflows (#78) 2021-04-16 13:37:32 +05:30
action_spec.rb Fix specs and tighten conditional handling 2021-06-23 16:13:58 +10:00
builder_spec.rb Fix specs and tighten conditional handling 2021-06-23 16:13:58 +10:00
cache_spec.rb Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
custom_field_spec.rb Add custom field improvements (#115) 2021-06-08 17:09:49 +05:30
field_spec.rb Step and field conditionality (#87) 2021-04-20 23:28:19 +05:30
log_spec.rb Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
mapper_spec.rb FIX: Ensure user_email and user_option attributes are handled properly (#119) 2021-06-15 11:48:17 +05:30
realtime_validation_spec.rb removed context block 2021-02-16 20:06:05 +05:30
step_spec.rb Step and field conditionality (#87) 2021-04-20 23:28:19 +05:30
submission_spec.rb FIX: ensure single incomplete submission existence (#136) 2021-08-02 13:01:49 +05:30
template_spec.rb IMPROVE: ensure redirect_to_wizard is cleaned up even if sidekiq is not working (#116) 2021-06-07 18:45:41 +05:30
template_validator_spec.rb Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
update_validator_spec.rb FIX: apply text length validations for non-empty fields only (#137) 2021-07-30 16:03:48 +05:30
wizard_spec.rb Merge branch 'master' into pr/125 2021-07-12 14:05:02 +08:00