features/check.feature in foreplay-0.1.4 vs features/check.feature in foreplay-0.1.5
- old
+ new
@@ -5,25 +5,31 @@
Scenario: Check configuration
When I run `foreplay check`
Then the output should contain:
"""
- foreplay check requires at least 1 argument: "foreplay check ENVIRONMENT".
+ ERROR: "foreplay check" was called with no arguments
+ Usage: "foreplay check ENVIRONMENT"
"""
+# SimpleCov 8+ 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"
"""
+# SimpleCov 8+ foreplay check requires at least 1 argument: "foreplay check ENVIRONMENT".
Scenario: Check configuration parameters - short invalid parameter
When I run `foreplay check test -x xyz`
Then the output should contain:
"""
- foreplay check requires at least 1 argument: "foreplay check ENVIRONMENT".
+ ERROR: "foreplay check" was called with arguments ["test", "-x", "xyz"]
+ Usage: "foreplay check ENVIRONMENT"
"""
+# SimpleCov 8+ 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"
And the output should contain "Can't find configuration file"