Sha256: 8799db55066ba1ff510bf646654fc79c69884df4aed5cef7cf69c678f0eb4cf1
Contents?: true
Size: 1.04 KB
Versions: 13
Compression:
Stored size: 1.04 KB
Contents
require 'spec_helper' shared_examples_for "a puppetfile action" do describe "initializing" do it "accepts the :root option" do described_class.new({root: "/some/nonexistent/path"}, [], {}) end it "accepts the :puppetfile option" do described_class.new({puppetfile: "/some/nonexistent/path/Puppetfile"}, [], {}) end it "accepts the :moduledir option" do described_class.new({moduledir: "/some/nonexistent/path/modules"}, [], {}) end end end shared_examples_for "a puppetfile install action" do describe "initializing" do it "accepts the :root option" do described_class.new({root: "/some/nonexistent/path"}, [], {}) end it "accepts the :puppetfile option" do described_class.new({puppetfile: "/some/nonexistent/path/Puppetfile"}, [], {}) end it "accepts the :moduledir option" do described_class.new({moduledir: "/some/nonexistent/path/modules"}, [], {}) end it "accepts the :force option" do described_class.new({force: true}, [], {}) end end end
Version data entries
13 entries across 13 versions & 2 rubygems