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