Fix Typos in integration tests

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2015-10-20 17:06:33 +02:00
parent 6cac8cc95f
commit 3ab5520ea3
3 changed files with 6 additions and 6 deletions

View File

@ -76,13 +76,13 @@ load ${BASE_TEST_DIR}/helpers.bash
[[ ${lines[0]} == "Error removing host \"∞\": Loading host from store failed: Host does not exist: \"∞\"" ]] [[ ${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 run machine rm 0
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
} }
# Should be replaced by the test below # 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 run machine rm a
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
} }

View File

@ -3,7 +3,7 @@
load ${BASE_TEST_DIR}/helpers.bash load ${BASE_TEST_DIR}/helpers.bash
@test "status: show error in case of no args" { @test "status: show error in case of no args" {
run machine inspect run machine status
[ "$status" -eq 1 ] [ "$status" -eq 1 ]
[[ ${output} == *"must specify a machine name"* ]] [[ ${output} == *"Expected one machine name as an argument."* ]]
} }

View File

@ -3,7 +3,7 @@
load ${BASE_TEST_DIR}/helpers.bash load ${BASE_TEST_DIR}/helpers.bash
@test "url: show error in case of no args" { @test "url: show error in case of no args" {
run machine inspect run machine url
[ "$status" -eq 1 ] [ "$status" -eq 1 ]
[[ ${output} == *"must specify a machine name"* ]] [[ ${output} == *"Expected one machine name as an argument."* ]]
} }