spec/beaker/hypervisor/vmpooler_spec.rb in beaker-vmpooler-1.3.3 vs spec/beaker/hypervisor/vmpooler_spec.rb in beaker-vmpooler-1.4.0

- old
+ new

@@ -3,9 +3,10 @@ module Beaker describe Vmpooler do before :each do stub_const( "Net", MockNet ) + allow_any_instance_of(MockNet::HTTP).to receive(:use_ssl=) allow( JSON ).to receive( :parse ) do |arg| arg end allow( Socket ).to receive( :getaddrinfo ).and_return( true ) allow_any_instance_of( Beaker::Vmpooler ).to \