feat: add git-user and git-email flags to recipe new

This commit is contained in:
2024-03-07 17:46:59 +01:00
committed by decentral1se
parent 9ec99c7712
commit b2485cc122
4 changed files with 37 additions and 14 deletions

View File

@ -23,14 +23,14 @@ teardown(){
}
@test "create new recipe" {
run $ABRA recipe new foobar
run $ABRA recipe new foobar --git-name foo --git-email foo@example.com
assert_success
assert_output --partial 'Your new foobar recipe has been created'
assert_exists "$ABRA_DIR/recipes/foobar"
}
@test "create new app from new recipe" {
run $ABRA recipe new foobar
run $ABRA recipe new foobar --git-name foo --git-email foo@example.com
assert_success
run $ABRA app new foobar \