Merge pull request #5981 from OsamaSayegh/fix-build

Fix build
This commit is contained in:
OsamaSayegh 2018-06-11 09:13:10 +03:00 committed by GitHub
commit 6ddf32da7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ RSpec.describe Admin::BackupsController do
sign_in(admin) sign_in(admin)
end end
after do
$redis.flushall
end
describe "#index" do describe "#index" do
it "raises an error when backups are disabled" do it "raises an error when backups are disabled" do
SiteSetting.enable_backups = false SiteSetting.enable_backups = false