Match package install string and fix test name

This commit is contained in:
Chris Roberts 2018-07-27 10:26:10 -07:00
parent 584b288b8f
commit f9e994a15d
1 changed files with 2 additions and 1 deletions

View File

@ -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