Simplify Action#output spec
This commit is contained in:
parent
7a75db3583
commit
130d84aa6c
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user