Implement verbose mode

This commit is contained in:
Thibault Jouan
2014-05-19 22:22:42 +00:00
parent 2b86bbf112
commit 8291f1bcfd
16 changed files with 183 additions and 20 deletions

View File

@@ -3,5 +3,13 @@ require 'spec_helper'
module Producer::Core
describe Action do
it_behaves_like 'action'
describe '#name' do
subject(:action) { described_class.new(double 'env') }
it 'infers action name from class name' do
expect(action.name).to eq 'action'
end
end
end
end