improve backup
Some checks failed
/ Run tests (push) Failing after 16s
/ Run system tests (push) Failing after 14s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-10-27 03:38:15 +01:00
parent db9755cad5
commit fc71cd4a09
4 changed files with 45 additions and 17 deletions

View file

@ -23,8 +23,13 @@ module Admin
login("test@example.com", "password")
end
test "should show admin_backup" do
get admin_backup_url(@admin_backup)
test "should create admin_backup xlsx" do
get admin_backup_url(@admin_backup, format: :xlsx)
assert_response :success
end
test "should create admin_backup zip" do
get admin_backup_url(@admin_backup, format: :zip)
assert_response :success
end
end