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

15 Commits

Autor SHA1 Nachricht Datum
Angus McLeod 35021eb176 DEV: Integrate subscription gem classes in rspec suite
I've tweaked the subscription client gem so we can just use the gem's models and tables in this plugin's rspec, which makes duplicating and stubbing them unnecessary.

See further https://github.com/paviliondev/discourse_subscription_client
2023-11-25 13:16:55 +01:00
merefield c8263ed6aa change name of subscription stubbing method to add clarity of intent 2023-09-28 14:27:24 +01:00
merefield da2a56adc6 specs: ensure sub client code is mocked out 2023-09-28 13:47:22 +01:00
Angus McLeod 69fd3d451d merge main 2022-03-12 15:08:56 +01:00
Angus McLeod 46c86cda58 Move to new coverage approach 2022-03-12 14:00:07 +01:00
Angus McLeod 5e5b5e67ee
FIX: Cache valid directs and only allow one type in a template (#176)
* Cache valid directs and only allow one type in a template

* Add spec

* Bump version

* Bump version

* Exclude current wizard from other_after_signup
2022-01-31 14:48:04 +05:30
angusmcleod 23c4b45195 Add pro feature specs 2021-09-07 20:06:13 +08:00
angusmcleod d602281a6a Fix failing test 2021-07-12 16:39:37 +08:00
angusmcleod e441588aa3 Fix specs and tighten conditional handling 2021-06-23 16:13:58 +10:00
Angus McLeod 522d4e9489
IMPROVE: ensure redirect_to_wizard is cleaned up even if sidekiq is not working (#116)
* Add test of redirect_to_wizard when wizard is removed

* Make clear_user_wizard_redirect a synchronous operation
2021-06-07 18:45:41 +05:30
Angus McLeod 4edb40e526
Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
Angus McLeod f6f77547d7 Use explicit file loading for tests coverage 2020-12-01 08:20:10 +11:00
Angus McLeod fc7c5b9b34 Complete tests 2020-11-03 11:24:20 +11:00
Angus McLeod 8fdd263d8e wip 2020-10-20 10:15:03 +11:00
Angus McLeod bbfc5abae1 Add rspec folder structure 2019-12-04 22:13:51 +11:00