Cleanup Settings values modified after specs are run

This commit is contained in:
Bertocq
2017-05-30 00:55:53 +02:00
parent 16edbf15a2
commit 798b646135
23 changed files with 109 additions and 14 deletions

View File

@@ -8,6 +8,8 @@ feature 'Admin debates' do
login_as(admin.user)
expect{ visit admin_debates_path }.to raise_exception(FeatureFlags::FeatureDisabled)
Setting['feature.debates'] = true
end
background do
@@ -91,4 +93,4 @@ feature 'Admin debates' do
expect(current_url).to include('page=2')
end
end
end