Fix build

This commit is contained in:
OsamaSayegh 2018-06-11 09:12:28 +03:00
parent 91557063d8
commit 249a256cd2
1 changed files with 4 additions and 0 deletions

View File

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