features/copy.feature in revenc-0.1.2 vs features/copy.feature in revenc-0.1.3

- old
+ new

@@ -50,44 +50,44 @@ mountpoint: name: encrypted_source_folder """ When I run with a lock file present "revenc copy encrypted_source_folder encrypted_destination" Then the exit status should be 1 - And I should see: + And the output should contain: """ action failed, lock file present """ Scenario: Source folder not specified When I run "revenc copy" Then the exit status should be 1 - And I should see: + And the output should contain: """ source folder not specified """ Scenario: Destination not specified When I run "revenc copy encrypted_source_folder" Then the exit status should be 1 - And I should see: + And the output should contain: """ destination not specified """ Scenario: Source folder doesn't exist When I run "revenc copy encrypted_source_folder encrypted_destination" Then the exit status should be 1 - And I should see: + And the output should contain: """ source folder not found """ Scenario: Source folder is empty Given a directory named "encrypted_source_folder" When I run "revenc copy encrypted_source_folder encrypted_destination" Then the exit status should be 1 - And I should see: + And the output should contain: """ source folder is empty """ Scenario: Source folder contains files but mount point empty (not mounted) @@ -105,11 +105,11 @@ name: parent_folder destination: name: copy_to_destination """ When I run "revenc copy --verbose --dry-run" - Then I should see: + Then the output should contain: """ mountpoint is empty """ Scenario: Source folder contains files, mountpoint does not exist @@ -126,11 +126,11 @@ name: parent_folder destination: name: copy_to_destination """ When I run "revenc copy --verbose --dry-run" - Then I should see: + Then the output should contain: """ mountpoint not found """ Scenario: Source folder contains files, mountpoint not specified @@ -144,15 +144,15 @@ name: parent_folder destination: name: copy_to_destination """ When I run "revenc copy --verbose --dry-run" - Then I should not see: + Then the output should not contain: """ mountpoint not found """ - And I should not see: + And the output should not contain: """ mountpoint is empty """ Scenario: Missing executable @@ -161,9 +161,9 @@ copy: executable: missing_bin_file """ When I run "revenc copy encrypted_source_folder encrypted_destination" Then the exit status should be 1 - And I should see: + And the output should contain: """ executable not found """