Sha256: 79c41c1281f6484c8ac6f8a90544e8f4a08d17e1fd3d2bef46b199db53b21f4e
Contents?: true
Size: 737 Bytes
Versions: 32
Compression:
Stored size: 737 Bytes
Contents
# Copyright (c) 2015 VMware, Inc. All Rights Reserved. require_relative "../../../../base" describe "VagrantPlugins::GuestPhoton::Cap:Docker" do let(:caps) do VagrantPlugins::GuestPhoton::Plugin .components .guest_capabilities[:photon] end let(:machine) { double("machine") } let(:comm) { VagrantTests::DummyCommunicator::Communicator.new(machine) } before do allow(machine).to receive(:communicate).and_return(comm) end after do comm.verify_expectations! end describe ".docker_daemon_running" do let(:cap) { caps.get(:docker_daemon_running) } it "installs rsync" do comm.expect_command("test -S /run/docker.sock") cap.docker_daemon_running(machine) end end end
Version data entries
32 entries across 28 versions & 6 rubygems