Cleanup Settings values modified after specs are run
This commit is contained in:
@@ -11,6 +11,8 @@ feature 'Valuation budget investments' do
|
||||
scenario 'Disabled with a feature flag' do
|
||||
Setting['feature.budgets'] = nil
|
||||
expect{ visit valuation_budget_budget_investments_path(create(:budget)) }.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
|
||||
Setting['feature.budgets'] = true
|
||||
end
|
||||
|
||||
scenario 'Display link to valuation section' do
|
||||
|
||||
Reference in New Issue
Block a user