diff --git a/spec/requests/admin/backups_controller_spec.rb b/spec/requests/admin/backups_controller_spec.rb index 32dc5e1c7b9..4224bcb07b1 100644 --- a/spec/requests/admin/backups_controller_spec.rb +++ b/spec/requests/admin/backups_controller_spec.rb @@ -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