You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.5 KiB
44 lines
1.5 KiB
commit 3f8ed748d73fa9d39fe163f14540a7ef2a53a5c1
|
|
Author: Jarl Friis <jarl@softace.dk>
|
|
Date: Fri Oct 12 23:28:31 2012 +0200
|
|
|
|
These tests are actually not testing output from the process anyway, because the process is actually never started.
|
|
|
|
diff --git a/features/exit_statuses.feature b/features/exit_statuses.feature
|
|
index 5c5dffe..b971152 100644
|
|
--- a/features/exit_statuses.feature
|
|
+++ b/features/exit_statuses.feature
|
|
@@ -30,13 +30,3 @@ Feature: exit statuses
|
|
Scenario: Unsuccessfully run something
|
|
When I do aruba I successfully run `ruby -e 'exit 10'`
|
|
Then aruba should fail with "Exit status was 10"
|
|
-
|
|
- @posix
|
|
- Scenario: Try to run something that doesn't exist
|
|
- When I run `does_not_exist`
|
|
- Then the exit status should be 1
|
|
-
|
|
- @posix
|
|
- Scenario: Try to run something that doesn't exist with `
|
|
- When I run `does_not_exist`
|
|
- Then the exit status should be 1
|
|
diff --git a/features/output.feature b/features/output.feature
|
|
index 35b931d..f577d26 100644
|
|
--- a/features/output.feature
|
|
+++ b/features/output.feature
|
|
@@ -5,14 +5,6 @@ Feature: Output
|
|
I want to use the "the output should contain" step
|
|
|
|
@posix
|
|
- Scenario: Run unknown command
|
|
- When I run `neverever gonna work`
|
|
- Then the output should contain:
|
|
- """
|
|
- No such file or directory - neverever
|
|
- """
|
|
-
|
|
- @posix
|
|
Scenario: Detect subset of one-line output
|
|
When I run `ruby -e 'puts \"hello world\"'`
|
|
Then the output should contain "hello world"
|