features/cli.feature in hoc-0.1 vs features/cli.feature in hoc-0.2

- old
+ new

@@ -9,14 +9,25 @@ Scenario: Simple git repo Given I run bash: """ set -e - set -x git init . + git config user.email test@teamed.io + git config user.name test echo 'hello, world!' > test.txt git add test.txt - git commit -m test + git commit -am test """ When I run bin/hoc with "-f int" Then Exit code is zero And Stdout contains "1" + + Scenario: Real git repo + Given I run bash: + """ + set -e + rm -rf * + git clone https://github.com/teamed/hoc.git . + """ + When I run bin/hoc with "-f int" + Then Exit code is zero