Implement `file_append' task action

This commit is contained in:
Thibault Jouan
2014-03-05 02:38:00 +00:00
parent b1c7ff27b4
commit 387f37f3f5
6 changed files with 95 additions and 3 deletions

View File

@@ -7,7 +7,14 @@ module Producer::Core
let(:env) { Env.new }
subject(:dsl) { DSL.new(env, &block) }
%w[echo sh mkdir file_write file_replace_content].each do |action|
%w[
echo
sh
mkdir
file_append
file_replace_content
file_write
].each do |action|
it "has `#{action}' action defined" do
expect(dsl).to respond_to action.to_sym
end