Compare commits
1 Commits
1f5f2eedcd
...
14f2d72aba
Author | SHA1 | Date |
---|---|---|
decentral1se | 14f2d72aba |
|
@ -325,6 +325,22 @@ setup(){
|
|||
assert_success
|
||||
}
|
||||
|
||||
@test "ls: show secrets as machine readable" {
|
||||
run $ABRA app secret ls "$TEST_APP_DOMAIN"
|
||||
assert_success
|
||||
assert_output --partial 'false'
|
||||
|
||||
run $ABRA app secret generate "$TEST_APP_DOMAIN" --all
|
||||
assert_success
|
||||
|
||||
run $ABRA app secret ls "$TEST_APP_DOMAIN" --machine
|
||||
assert_success
|
||||
assert_output --partial '"created-on-server":"true"'
|
||||
|
||||
run $ABRA app secret rm "$TEST_APP_DOMAIN" --all
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "ls: bail if unstaged changes and no --chaos" {
|
||||
run bash -c "echo foo >> $ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
assert_success
|
||||
|
|
Loading…
Reference in New Issue