Merge pull request #11889 from soapy1/remove-rsync-from-tests

Remove rsync dep from tests
This commit is contained in:
Sophia Castellarin 2020-09-22 12:35:45 -05:00 committed by GitHub
commit 52908cd5c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -11,6 +11,7 @@ describe VagrantPlugins::CommandPort::Command do
iso_env.vagrantfile(<<-VF)
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
end
VF
iso_env.create_vagrant_env
@ -29,7 +30,6 @@ describe VagrantPlugins::CommandPort::Command do
before do
allow(machine).to receive(:state).and_return(state)
allow(machine).to receive_message_chain(:synced_folders).and_return( double(:types => []) )
allow(subject).to receive(:with_target_vms) { |&block| block.call(machine) }
end
@ -38,7 +38,7 @@ describe VagrantPlugins::CommandPort::Command do
iso_env.vagrantfile <<-EOH
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.push.define "noop" do |push|
push.bad = "ham"
end

View File

@ -11,6 +11,7 @@ describe VagrantPlugins::CommandPush::Command do
iso_env.vagrantfile(<<-VF)
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
end
VF
iso_env.create_vagrant_env
@ -47,6 +48,7 @@ describe VagrantPlugins::CommandPush::Command do
iso_env.vagrantfile <<-EOH
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.push.define "noop" do |push|
push.bad = "ham"

View File

@ -30,6 +30,7 @@ describe VagrantPlugins::CommandValidate::Command do
<<-VF
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
end
VF
end
@ -52,6 +53,7 @@ describe VagrantPlugins::CommandValidate::Command do
<<-VF
Vagrant.configure("2") do |config|
config.vm.bix = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
end
VF
end
@ -67,6 +69,7 @@ describe VagrantPlugins::CommandValidate::Command do
<<-VF
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define "test" do |vm|
vm.vm.provider :virtualbox
@ -97,6 +100,7 @@ describe VagrantPlugins::CommandValidate::Command do
<<-VF
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define "test" do |vm|
vm.vm.provider :virtualbox
@ -127,6 +131,7 @@ describe VagrantPlugins::CommandValidate::Command do
<<-VF
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define "test" do |vm|
vm.vm.hostname = "test"