Basic resume tests
This commit is contained in:
parent
d03744c5e1
commit
7e276cf4d8
|
@ -0,0 +1,17 @@
|
|||
require File.expand_path("../base", __FILE__)
|
||||
require "support/shared/command_examples"
|
||||
|
||||
describe "vagrant resume" do
|
||||
include_context "acceptance"
|
||||
it_behaves_like "a command that requires a Vagrantfile", ["vagrant", "resume"]
|
||||
|
||||
it "succeeds and ignores if the VM is not created" do
|
||||
require_box("default")
|
||||
|
||||
assert_execute("vagrant", "box", "add", "base", box_path("default"))
|
||||
assert_execute("vagrant", "init")
|
||||
|
||||
result = assert_execute("vagrant", "resume")
|
||||
result.stdout.should match_output(:vm_not_created_warning)
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue