require 'spec_helper' require 'r10k/action/deploy/module' describe R10K::Action::Deploy::Module do subject { described_class.new({config: "/some/nonexistent/path"}, []) } it_behaves_like "a deploy action that requires a config file" it_behaves_like "a deploy action that can be write locked" describe "initializing" do it "accepts an environment option" do described_class.new({environment: "production"}, []) end end end