spec/beaker/hypervisor/vagrant_spec.rb in beaker-2.27.0 vs spec/beaker/hypervisor/vagrant_spec.rb in beaker-2.28.0

- old
+ new

@@ -194,10 +194,10 @@ wait_thr = OpenStruct.new state = double( 'state' ) allow( state ).to receive( :success? ).and_return( true ) wait_thr.value = state - allow( Open3 ).to receive( :popen3 ).with( 'vagrant', 'ssh-config', name ).and_return( [ "", out, "", wait_thr ]) + allow( Open3 ).to receive( :popen3 ).with( {"RUBYLIB"=>""}, 'vagrant', 'ssh-config', name ).and_return( [ "", out, "", wait_thr ]) file = double( 'file' ) allow( file ).to receive( :path ).and_return( '/path/sshconfig' ) allow( file ).to receive( :rewind ).and_return( true )