features/bin.feature in oct-0.2.0 vs features/bin.feature in oct-0.3.1

- old
+ new

@@ -1,34 +1,34 @@ @announce Feature: Options via a command line interface (CLI) As an interactive user or automated script The application should accept options on the command line - These options should override hard coded defaults + These options should override hard coded defaults In order to configure options Scenario: Version info - When I run "oct --version" + When I run `oct --version` Then the exit status should be 0 And the output should match /oct, version ([\d]+\.[\d]+\.[\d]+$)/ Scenario: Help - When I run "oct --help" + When I run `oct --help` Then the exit status should be 0 - And the output should match: + And the output should match: """ .* Usage: .* .* Options: .* -v, --\[no-\]verbose Run verbosely """ Scenario: Invalid option - When I run "oct --non-existing-option" + When I run `oct --non-existing-option` Then the exit status should be 1 - And the output should match: + And the output should match: """ ^.* invalid option: --non-existing-option ^.* --help for more information """