Sha256: 79c8564a7ce15dd0917a1d60f8ffc473a7185813ce203263f760590ae368262f
Contents?: true
Size: 709 Bytes
Versions: 50
Compression:
Stored size: 709 Bytes
Contents
require 'spec_helper' require 'r10k/action/deploy/display' describe R10K::Action::Deploy::Display do describe "initializing" do it "accepts a puppetfile option" do described_class.new({puppetfile: true}, []) end it "accepts a detail option" do described_class.new({detail: true}, []) end it "accepts a format option" do described_class.new({format: "json"}, []) end it "accepts a fetch option" do described_class.new({fetch: true}, []) end end subject { described_class.new({config: "/some/nonexistent/path"}, []) } before do allow(subject).to receive(:puts) end it_behaves_like "a deploy action that requires a config file" end
Version data entries
50 entries across 50 versions & 1 rubygems