Add ability to imply 'default' VM in commands
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
@@ -5,5 +5,5 @@ load ${BASE_TEST_DIR}/helpers.bash
|
||||
@test "inspect: show error in case of no args" {
|
||||
run machine inspect
|
||||
[ "$status" -eq 1 ]
|
||||
[[ ${output} == *"Expected one machine name as an argument"* ]]
|
||||
[[ ${output} == *"Error: No machine name(s) specified and no \"default\" machine exists."* ]]
|
||||
}
|
||||
|
||||
@@ -5,5 +5,5 @@ load ${BASE_TEST_DIR}/helpers.bash
|
||||
@test "status: show error in case of no args" {
|
||||
run machine status
|
||||
[ "$status" -eq 1 ]
|
||||
[[ ${output} == *"Expected one machine name as an argument"* ]]
|
||||
[[ ${output} == *"Error: No machine name(s) specified and no \"default\" machine exists."* ]]
|
||||
}
|
||||
|
||||
@@ -5,5 +5,5 @@ load ${BASE_TEST_DIR}/helpers.bash
|
||||
@test "url: show error in case of no args" {
|
||||
run machine url
|
||||
[ "$status" -eq 1 ]
|
||||
[[ ${output} == *"Expected one machine name as an argument"* ]]
|
||||
[[ ${output} == *"Error: No machine name(s) specified and no \"default\" machine exists."* ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user