0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-06-02 13:58:59 +02:00
Commit-Graph

5 Commits

Autor SHA1 Nachricht Datum
Angus McLeod 46c86cda58 Move to new coverage approach 2022-03-12 14:00:07 +01:00
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
angusmcleod 098e8418fb Apply rubocop 2021-06-23 16:15:17 +10:00
angusmcleod e441588aa3 Fix specs and tighten conditional handling 2021-06-23 16:13:58 +10:00
angusmcleod d3c6733e59 Abstract and improve submission handling 2021-06-17 17:50:22 +10:00