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

@@ -40,5 +40,17 @@ module Producer::Core
expect(action.fs).to be env.remote.fs
end
end
describe '#name' do
it 'returns a word' do
expect(action.name).to match /\A\w+\z/
end
end
describe '#to_s' do
it 'returns a word' do
expect(action.to_s).to eq action.name
end
end
end
end