Remove virtualbox context from docker tests
This commit is contained in:
parent
5b4dcf9443
commit
ebe1f3f1c9
|
@ -4,7 +4,6 @@ require_relative "../../../../../../plugins/providers/docker/action/connect_netw
|
|||
|
||||
describe VagrantPlugins::DockerProvider::Action::ConnectNetworks do
|
||||
include_context "unit"
|
||||
include_context "virtualbox"
|
||||
|
||||
let(:sandbox) { isolated_environment }
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ require_relative "../../../../../../plugins/providers/docker/action/destroy_netw
|
|||
|
||||
describe VagrantPlugins::DockerProvider::Action::DestroyNetwork do
|
||||
include_context "unit"
|
||||
include_context "virtualbox"
|
||||
|
||||
let(:sandbox) { isolated_environment }
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ require_relative "../../../../../../plugins/providers/docker/action/login"
|
|||
|
||||
describe VagrantPlugins::DockerProvider::Action::Login do
|
||||
include_context "unit"
|
||||
include_context "virtualbox"
|
||||
|
||||
let(:sandbox) { isolated_environment }
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ require_relative "../../../../../../plugins/providers/docker/action/prepare_netw
|
|||
|
||||
describe VagrantPlugins::DockerProvider::Action::PrepareNetworks do
|
||||
include_context "unit"
|
||||
include_context "virtualbox"
|
||||
|
||||
let(:sandbox) { isolated_environment }
|
||||
|
||||
|
|
|
@ -28,11 +28,6 @@ shared_context "virtualbox" do
|
|||
allow(subprocess).to receive(:execute).
|
||||
with("VBoxManage", "showvminfo", kind_of(String), kind_of(Hash)).
|
||||
and_return(subprocess_result(exit_code: 0))
|
||||
|
||||
# apparently this is also used in docker tests
|
||||
allow(subprocess).to receive(:execute).
|
||||
with("docker", "version", an_instance_of(Hash)).
|
||||
and_return(subprocess_result(exit_code: 0))
|
||||
end
|
||||
|
||||
around do |example|
|
||||
|
|
Loading…
Reference in New Issue