mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
This makes all tests exercise the new branch that `OrderBalance` abstracts. It follows up #7363 addressing code review comments.
10 lines
206 B
Ruby
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
|