diff --git a/features/backup_plan_cli_show.feature b/features/backup_plan_cli_show.feature new file mode 100644 index 0000000..f56dfa1 --- /dev/null +++ b/features/backup_plan_cli_show.feature @@ -0,0 +1,18 @@ +Feature: Deleting a backup plan with the CLI + + @fixture.injector + @fixture.in_memory_database + @fixture.seeds + @fixture.cli + Scenario Outline: Deleting a backup plan with the CLI + Given the CLI arguments are "" + And I have a backup plan with id="" + When I run the CLI + Then the CLI executed with "" + + Examples: + | arguments | existing_backup_plan_id | result | description | + | plans show one -i 8aa59e7e-dc75-459b-beb5-b710b39be583 | 8aa59e7e-dc75-459b-beb5-b710b39be583 | success | delete an existing plan | + | plans show one -i 8aa59e7e-dc75-459b-aeb5-b710b39be583 | 8aa59e7e-dc75-459b-beb5-b710b39be512 | error | delete a non-existing plan | + + diff --git a/features/backup_plan_model.feature b/features/backup_plan_model.feature index 8b2b774..cc8b75e 100644 --- a/features/backup_plan_model.feature +++ b/features/backup_plan_model.feature @@ -15,21 +15,3 @@ Feature: Creating a backup plan | usb | /mnt/usb | [] | | db | /db | ["/backup/db"] | | temp | /tmp | ["/backup/tmp1", "/backup/tmp2"] | - - @fixture.injector - @fixture.in_memory_database - @fixture.backup_plan_service - Scenario Outline: Create an new unique backup plan - Given the label "