Reset Flipflop before each test

This commit is contained in:
Paul Chavard 2018-09-19 17:11:25 +02:00 committed by gregoirenovel
parent 49113e8112
commit f2139552c2
3 changed files with 2 additions and 12 deletions

View file

@ -10,10 +10,6 @@ describe 'Dossier details:' do
Flipflop::FeatureSet.current.test!.switch!(:new_dossier_details, true)
end
after do
Flipflop::FeatureSet.current.test!.switch!(:new_dossier_details, false)
end
scenario 'the user can see the summary of the dossier status' do
visit_dossier dossier