Implement `echo' task action

This commit is contained in:
Thibault Jouan
2013-08-14 23:41:38 +00:00
parent f0e144cebd
commit a675c9c910
6 changed files with 48 additions and 2 deletions

View File

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