diff --git a/test/unit/plugins/guests/redhat/cap/nfs_client_test.rb b/test/unit/plugins/guests/redhat/cap/nfs_client_test.rb index 38a9efa69..8cb557c06 100644 --- a/test/unit/plugins/guests/redhat/cap/nfs_client_test.rb +++ b/test/unit/plugins/guests/redhat/cap/nfs_client_test.rb @@ -21,8 +21,9 @@ describe "VagrantPlugins::GuestRedHat::Cap:NFSClient" do describe ".nfs_client_install" do let(:cap) { caps.get(:nfs_client_install) } - it "installs rsync" do + it "installs nfs client" do cap.nfs_client_install(machine) + expect(comm.received_commands[0]).to match(/install nfs-utils/) expect(comm.received_commands[0]).to match(/\/bin\/systemctl restart rpcbind nfs/) end end