VM is no longer an action runner
This commit is contained in:
parent
6e93406069
commit
50af3987fc
|
@ -1,5 +1,5 @@
|
||||||
module Vagrant
|
module Vagrant
|
||||||
class VM < Actions::Runner
|
class VM
|
||||||
include Vagrant::Util
|
include Vagrant::Util
|
||||||
|
|
||||||
attr_reader :env
|
attr_reader :env
|
||||||
|
|
|
@ -12,13 +12,6 @@ class VMTest < Test::Unit::TestCase
|
||||||
Net::SSH.stubs(:start)
|
Net::SSH.stubs(:start)
|
||||||
end
|
end
|
||||||
|
|
||||||
context "being an action runner" do
|
|
||||||
should "be an action runner" do
|
|
||||||
vm = Vagrant::VM.new(:env => @env)
|
|
||||||
assert vm.is_a?(Vagrant::Actions::Runner)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
context "finding a VM" do
|
context "finding a VM" do
|
||||||
should "return return an uncreated VM object if the VM is not found" do
|
should "return return an uncreated VM object if the VM is not found" do
|
||||||
VirtualBox::VM.expects(:find).returns(nil)
|
VirtualBox::VM.expects(:find).returns(nil)
|
||||||
|
|
Loading…
Reference in New Issue