Sha256: 4bb741e6311e521c97b875ea9e25896c4a7f4684f73a4520db0f6f0025ea8d73
Contents?: true
Size: 759 Bytes
Versions: 26
Compression:
Stored size: 759 Bytes
Contents
require_relative "../../../../base" describe "VagrantPlugins::GuestArch::Cap:RSync" do let(:described_class) do VagrantPlugins::GuestArch::Plugin .components .guest_capabilities[:arch] .get(:rsync_install) 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 ".rsync_install" do it "installs rsync=" do described_class.rsync_install(machine) expect(comm.received_commands[0]).to match(/pacman -Sy --noconfirm/) expect(comm.received_commands[0]).to match(/pacman -S --noconfirm rsync/) end end end
Version data entries
26 entries across 22 versions & 5 rubygems