Jeff Bonhag c6ee1049aa
Darwin: put each NFS export on its own line (#11216)
This commit introduces a Darwin-specific template for NFS exports.  This is almost identical to the standard BSD template except it puts each NFS export on its own line.

This resolves NFS issues discovered in macOS Catalina.
2019-11-25 15:41:05 -05:00

18 lines
435 B
Ruby

require_relative "../../../../base"
require_relative "../../../../../../plugins/hosts/darwin/cap/nfs"
describe VagrantPlugins::HostDarwin::Cap::NFS do
include_context "unit"
let(:subject){ VagrantPlugins::HostDarwin::Cap::NFS }
it "exists" do
expect(subject).to_not be(nil)
end
it "should use nfs/exports_darwin as its template" do
expect(subject.nfs_exports_template(nil)).to eq("nfs/exports_darwin")
end
end