parent
0a8e94d9eb
commit
0b8c43bce9
@ -0,0 +1,43 @@
|
|||||||
|
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"
|
Loading…
Reference in new issue