spec: fix Flipflop state not being reseted after test
This would cause the Support specs to fail randomly with an unexpected redirection.
This commit is contained in:
parent
c98ec1c746
commit
a63e035daf
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue