Implement `file_replace_content' task action

This commit is contained in:
Thibault Jouan committed 2014-03-05 02:02:52 +00:00
1 parent a7f6d7034b
commit d22b023ff4
7 files changed
+116 -3

No files matched your search

+1 -1
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