Sha256: b98b99f36480bb7d8c77a7622b4d21de1bfa871a2918b3c1dcec6b9763980b77
Contents?: true
Size: 668 Bytes
Versions: 32
Compression:
Stored size: 668 Bytes
Contents
require_relative "../../../../base" describe "VagrantPlugins::GuestRedHat::Cap:RSync" do let(:caps) do VagrantPlugins::GuestRedHat::Plugin .components .guest_capabilities[:redhat] 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 let(:cap) { caps.get(:rsync_install) } it "installs rsync" do cap.rsync_install(machine) expect(comm.received_commands[0]).to match(/install rsync/) end end end
Version data entries
32 entries across 28 versions & 6 rubygems