mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Test environment stability improvements (#703)
* Add climate_control gem and test helper * Replace ENV mods in upgrades test * Replace ENV mods in registrations test * Remove ENV references in hostings controller * Update ENV refs in mailer test * ActiveStorage cleanup * Consolidate queue config so appropriate adapter runs in test environment * Make test environment more explicit * Centralize self hosting config * Remove flaky system test
This commit is contained in:
@@ -7,6 +7,6 @@ module SelfHostable
|
||||
|
||||
private
|
||||
def self_hosted?
|
||||
ENV["SELF_HOSTING_ENABLED"] == "true"
|
||||
Rails.configuration.app_mode.self_hosted?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user