mirror of https://github.com/docker/docs.git
Merge pull request #2026 from dgageot/fix-integration-tests
Fix Typos in integration tests
This commit is contained in:
commit
e959f7f1df
|
@ -76,13 +76,13 @@ load ${BASE_TEST_DIR}/helpers.bash
|
|||
[[ ${lines[0]} == "Error removing host \"∞\": Loading host from store failed: Host does not exist: \"∞\"" ]]
|
||||
}
|
||||
|
||||
@test "none: rm is succesful 'machine rm 0'" {
|
||||
@test "none: rm is successful 'machine rm 0'" {
|
||||
run machine rm 0
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
# Should be replaced by the test below
|
||||
@test "none: rm is succesful 'machine rm a'" {
|
||||
@test "none: rm is successful 'machine rm a'" {
|
||||
run machine rm a
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
load ${BASE_TEST_DIR}/helpers.bash
|
||||
|
||||
@test "status: show error in case of no args" {
|
||||
run machine inspect
|
||||
run machine status
|
||||
[ "$status" -eq 1 ]
|
||||
[[ ${output} == *"must specify a machine name"* ]]
|
||||
[[ ${output} == *"Expected one machine name as an argument."* ]]
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
load ${BASE_TEST_DIR}/helpers.bash
|
||||
|
||||
@test "url: show error in case of no args" {
|
||||
run machine inspect
|
||||
run machine url
|
||||
[ "$status" -eq 1 ]
|
||||
[[ ${output} == *"must specify a machine name"* ]]
|
||||
[[ ${output} == *"Expected one machine name as an argument."* ]]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue