Add more acceptance tests for printing the Vagrant version
This commit is contained in:
parent
4c9ad26115
commit
ec38417abb
|
@ -5,4 +5,14 @@ class VersionTest < AcceptanceTest
|
|||
result = execute("vagrant", "version")
|
||||
assert_equal("Vagrant version #{config.vagrant_version}\n", result.stdout.read)
|
||||
end
|
||||
|
||||
should "print the version with '-v'" do
|
||||
result = execute("vagrant", "-v")
|
||||
assert_equal("Vagrant version #{config.vagrant_version}\n", result.stdout.read)
|
||||
end
|
||||
|
||||
should "print the version with '--version'" do
|
||||
result = execute("vagrant", "--version")
|
||||
assert_equal("Vagrant version #{config.vagrant_version}\n", result.stdout.read)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue