1
0
mirror of https://github.com/docker/docs.git synced 2026-11-06 12:54:24 +03:00
Files
docs/test/integration/cli/url.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
240 B
Bash

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