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
describe '#output' do
it 'delegates to env output' do
action.output.puts 'some content'
expect(output.string).to eq "some content\n"
it 'returns env output' do
expect(action.output).to be output
end
end