Implement `file_replace_content' task action

This commit is contained in:
Thibault Jouan
2014-03-05 01:59:38 +00:00
parent a7f6d7034b
commit d22b023ff4
7 changed files with 116 additions and 3 deletions

View File

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