Skip to content

Commit

Permalink
fix: Enable DEFACE by default for test env
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Feb 16, 2024
1 parent ff3f1be commit 4a4dd15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/decidim/custom_proposal_states.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module Overrides
end

config_accessor :deface_enabled do
ENV.fetch("DEFACE_ENABLED", nil) == "true"
ENV.fetch("DEFACE_ENABLED", nil) == "true" || Rails.env.test?
end

def self.module_installed?(mod)
Expand Down

0 comments on commit 4a4dd15

Please sign in to comment.