VM is no longer an action runner

This commit is contained in:
Mitchell Hashimoto 2010-07-07 23:23:59 -07:00
parent 6e93406069
commit 50af3987fc
2 changed files with 1 additions and 8 deletions

View File

@ -1,5 +1,5 @@
module Vagrant
class VM < Actions::Runner
class VM
include Vagrant::Util
attr_reader :env

View File

@ -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)