features/check.feature in foreplay-0.1.0 vs features/check.feature in foreplay-0.1.1
- old
+ new
@@ -4,28 +4,25 @@
I want to be able to check all features
Scenario: Check configuration
When I run `foreplay check`
Then the output should contain:
- """
- ERROR: "foreplay check" was called with no arguments
- Usage: "foreplay check ENVIRONMENT"
- """
+ """
+ foreplay check requires at least 1 argument: "foreplay check ENVIRONMENT".
+ """
Scenario: Check configuration parameters - invalid parameter
When I run `foreplay check test --invalid xyz`
Then the output should contain:
+ """
+ foreplay check requires at least 1 argument: "foreplay check ENVIRONMENT".
"""
- ERROR: "foreplay check" was called with arguments ["test", "--invalid", "xyz"]
- Usage: "foreplay check ENVIRONMENT"
- """
Scenario: Check configuration parameters - short invalid parameter
When I run `foreplay check test -x xyz`
Then the output should contain:
"""
- ERROR: "foreplay check" was called with arguments ["test", "-x", "xyz"]
- Usage: "foreplay check ENVIRONMENT"
+ foreplay check requires at least 1 argument: "foreplay check ENVIRONMENT".
"""
Scenario: Check configuration parameters - no config file
When I run `foreplay check test`
Then the output should contain "Checking"