mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 14:50:19 +00:00
20 lines
394 B
Bash
Executable File
20 lines
394 B
Bash
Executable File
#!/usr/bin/env bats
|
|
export BAKEFILE=confirm.Bakefile
|
|
source ./_common.sh
|
|
|
|
@test "confirm works" {
|
|
timeout 1 "bake -b confirm.Bakefile secure"
|
|
}
|
|
|
|
@test "confirm --yes works" {
|
|
bake secure --yes
|
|
}
|
|
|
|
@test "confirm:secure works" {
|
|
timeout 1 "bake -b confirm.Bakefile secure/real"
|
|
}
|
|
|
|
@test "confirm:secure --yes don't work" {
|
|
timeout 1 "bake -b confirm.Bakefile secure/real --yes"
|
|
}
|