diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-04-17 17:52:15 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-04-17 17:52:15 +0800 |
commit | 9350b9064cb9c5048f9eab8041e953a5dab5b154 (patch) | |
tree | 789408112dac8edc0c089b4a975781ff2166068c /spec/lib/gitlab/ci/trace/stream_spec.rb | |
parent | bb10b23194a3f3332096168fa0e0fd297f846307 (diff) | |
download | gitlab-ce-9350b9064cb9c5048f9eab8041e953a5dab5b154.tar.gz |
Set the encoding in c'tor and explain why it's finefix-trace-encoding
Diffstat (limited to 'spec/lib/gitlab/ci/trace/stream_spec.rb')
-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 28d5c2183ce..03f040f4465 100644 --- a/spec/lib/gitlab/ci/trace/stream_spec.rb +++ b/spec/lib/gitlab/ci/trace/stream_spec.rb @@ -64,7 +64,7 @@ describe Gitlab::Ci::Trace::Stream do result = stream.html - expect(result.lines.first).to eq("ヾ(´༎ຶД༎ຶ`)ノ<br><span class=\"term-fg-green\">許功蓋</span><br>") + expect(result).to eq("ヾ(´༎ຶД༎ຶ`)ノ<br><span class=\"term-fg-green\">許功蓋</span><br>") expect(result.encoding).to eq(Encoding.default_external) end end |