Implement Action#output (delegates to env.output)

This commit is contained in:
Thibault Jouan
2014-01-08 22:43:52 +00:00
parent 103b9d1230
commit e567c61e4e
5 changed files with 15 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ module Producer::Core
subject(:echo) { Actions::Echo.new(env, text) }
describe '#apply' do
it 'writes the given string to env.output with a record separator' do
it 'writes the given string to env output with a record separator' do
echo.apply
expect(env.output.string).to eq "hello\n"
end