diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-04-17 17:12:43 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-04-17 17:12:43 +0800 |
commit | f05ab97e1ef1c1e70b6b8e1286b1d626e70f5286 (patch) | |
tree | 91b2e654c290b1a9062e66d99165f9f5ef9762af /spec | |
parent | e7d3fe44f64d1efbbc0b9611cb3382feff4a2f00 (diff) | |
download | gitlab-ce-f05ab97e1ef1c1e70b6b8e1286b1d626e70f5286.tar.gz |
Restore nil for stream
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/ci/trace/stream_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/trace/stream_spec.rb b/spec/lib/gitlab/ci/trace/stream_spec.rb index 1602a4945ad..28d5c2183ce 100644 --- a/spec/lib/gitlab/ci/trace/stream_spec.rb +++ b/spec/lib/gitlab/ci/trace/stream_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe Gitlab::Ci::Trace::Stream 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(:tell).to(:stream) } |