Files
docker-machine/test/integration/cli/status.bats
Nathan LeClaire 5000139c8e Add ability to imply 'default' VM in commands
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-15 17:10:08 -08:00

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."* ]]
}