Commit f05ab97e authored by Lin Jen-Shin's avatar Lin Jen-Shin

Restore nil for stream

parent e7d3fe44
...@@ -2,7 +2,7 @@ require 'spec_helper' ...@@ -2,7 +2,7 @@ require 'spec_helper'
describe Gitlab::Ci::Trace::Stream do describe Gitlab::Ci::Trace::Stream do
describe 'delegates' do describe 'delegates' do
subject { described_class.new { StringIO.new } } subject { described_class.new { nil } }
it { is_expected.to delegate_method(:close).to(:stream) } it { is_expected.to delegate_method(:close).to(:stream) }
it { is_expected.to delegate_method(:tell).to(:stream) } it { is_expected.to delegate_method(:tell).to(:stream) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment