Update the test for the creating source feature to add destinations.

This commit is contained in:
2023-11-10 16:53:07 +02:00
parent 66c389abfa
commit c67dc14003
2 changed files with 21 additions and 5 deletions
+5 -4
View File
@@ -3,13 +3,14 @@ Feature: Creating the source
Scenario Outline: Adding an new unique source
Given the label "<label>"
And the path "<source_path>"
And the destinations <destinations>
And the arguments "<arguments>"
When I add the source
Then the source should be added successfully
Examples:
| label | source_path | arguments |
| usb | /mnt/usb | <empty> |
| db | /db | -avuP |
| temp | /tmp | -avuP --delete |
| label | source_path | destinations | arguments |
| usb | /mnt/usb | [] | <empty> |
| db | /db | ["/backup/db"] | -avuP |
| temp | /tmp | ["/backup/tmp1", "/backup/tmp2"] | -avuP --delete |