docs/test/integration/cli/inspect.bats

10 lines
205 B
Bash

#!/usr/bin/env bats
load ${BASE_TEST_DIR}/helpers.bash
@test "inspect: show error in case of no args" {
run machine inspect
[ "$status" -eq 1 ]
[[ ${output} == *"must specify a machine name"* ]]
}