forked from toolshed/abra
@ -6,9 +6,13 @@ setup(){
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
@test "generate entire catalogue" {
|
||||
@test "generate catalogue" {
|
||||
run $ABRA catalogue generate
|
||||
assert_success
|
||||
|
||||
for d in $(ls $ABRA_DIR/recipes); do
|
||||
assert_exists "$ABRA_DIR/recipes/$d/.git"
|
||||
done
|
||||
}
|
||||
|
||||
@test "error if unstaged changes" {
|
||||
@ -41,4 +45,5 @@ setup(){
|
||||
@test "generate only specific recipe" {
|
||||
run $ABRA catalogue generate gitea
|
||||
assert_success
|
||||
assert_exists "$ABRA_DIR/recipes/gitea/.git"
|
||||
}
|
||||
|
Reference in New Issue
Block a user