Merge pull request #11889 from soapy1/remove-rsync-from-tests
Remove rsync dep from tests
This commit is contained in:
commit
52908cd5c4
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user