Simplify Action#output spec

This commit is contained in:
Thibault Jouan 2014-01-23 18:22:21 +00:00
parent 7a75db3583
commit 130d84aa6c

View File

@ -27,9 +27,8 @@ module Producer::Core
end end
describe '#output' do describe '#output' do
it 'delegates to env output' do it 'returns env output' do
action.output.puts 'some content' expect(action.output).to be output
expect(output.string).to eq "some content\n"
end end
end end