Add tests for Chef Zero config
This commit is contained in:
parent
a8a35757ee
commit
f5b9044e39
|
@ -0,0 +1,19 @@
|
|||
require_relative "../../../../base"
|
||||
|
||||
require Vagrant.source_root.join("plugins/provisioners/chef/config/chef_zero")
|
||||
|
||||
describe VagrantPlugins::Chef::Config::ChefZero do
|
||||
include_context "unit"
|
||||
|
||||
subject { described_class.new }
|
||||
|
||||
let(:machine) { double("machine") }
|
||||
|
||||
describe "#nodes_path" do
|
||||
it "defaults to an array" do
|
||||
subject.finalize!
|
||||
expect(subject.nodes_path).to be_a(Array)
|
||||
expect(subject.nodes_path).to be_empty
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue