Stub Arkose::Settings#enabled_for_signup? in tests
requested to merge 389523-broken-master-ee-spec-views-devise-registrations-new-html-haml_spec-rb into master
What does this MR do and why?
The test currently relies on the env variables being actually set (in the project' settings). This is wrong and we should stub the variables instead.
This was discovered in #389523 (comment 1255230233) so be sure to read the explanation (and the thread).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #389523 (closed).
Edited by Rémy Coutable