Match package install string and fix test name
This commit is contained in:
parent
584b288b8f
commit
f9e994a15d
|
@ -21,8 +21,9 @@ describe "VagrantPlugins::GuestRedHat::Cap:NFSClient" do
|
||||||
describe ".nfs_client_install" do
|
describe ".nfs_client_install" do
|
||||||
let(:cap) { caps.get(:nfs_client_install) }
|
let(:cap) { caps.get(:nfs_client_install) }
|
||||||
|
|
||||||
it "installs rsync" do
|
it "installs nfs client" do
|
||||||
cap.nfs_client_install(machine)
|
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/)
|
expect(comm.received_commands[0]).to match(/\/bin\/systemctl restart rpcbind nfs/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue