Simplify Action#output spec
This commit is contained in:
1 parent
7a75db3583
commit
130d84aa6c
1 file changed
+2
-3
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user