summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/trace/stream_spec.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-04-17 17:52:15 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-04-17 17:52:15 +0800
commit9350b9064cb9c5048f9eab8041e953a5dab5b154 (patch)
tree789408112dac8edc0c089b4a975781ff2166068c /spec/lib/gitlab/ci/trace/stream_spec.rb
parentbb10b23194a3f3332096168fa0e0fd297f846307 (diff)
downloadgitlab-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.rb2
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