10 lines
246 B
Bash
10 lines
246 B
Bash
#!/usr/bin/env bats
|
|
|
|
load ${BASE_TEST_DIR}/helpers.bash
|
|
|
|
@test "status: show error in case of no args" {
|
|
run machine status
|
|
[ "$status" -eq 1 ]
|
|
[[ ${output} == *"Error: No machine name(s) specified and no \"default\" machine exists."* ]]
|
|
}
|