commit
6ddf32da7c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue