Files
openfoodnetwork/config/initializers/feature_toggles.rb
Pau Perez 5cf4aecc26 Enable customer_balance toggle in tests
This makes all tests exercise the new branch that `OrderBalance`
abstracts. It follows up #7363 addressing code review comments.
2021-04-12 09:31:23 +02:00

10 lines
206 B
Ruby

require 'open_food_network/feature_toggle'
OpenFoodNetwork::FeatureToggle.enable(:customer_balance) do |user|
true
end
OpenFoodNetwork::FeatureToggle.enable(:unit_price) do
Rails.env.development?
end