Commit 816cd996 authored by Shinya Maeda's avatar Shinya Maeda

Fix HttpIO test to catch FailedToGetChunkError

parent 4af7a7c2
...@@ -224,7 +224,7 @@ describe Gitlab::Ci::Trace::HttpIO do ...@@ -224,7 +224,7 @@ describe Gitlab::Ci::Trace::HttpIO do
end end
it 'reads a trace' do it 'reads a trace' do
is_expected.to be_nil expect { subject }.to raise_error(Gitlab::Ci::Trace::HttpIO::FailedToGetChunkError)
end end
end end
end end
...@@ -254,7 +254,7 @@ describe Gitlab::Ci::Trace::HttpIO do ...@@ -254,7 +254,7 @@ describe Gitlab::Ci::Trace::HttpIO do
end end
it 'reads a trace' do it 'reads a trace' do
is_expected.to be_nil expect { subject }.to raise_error(Gitlab::Ci::Trace::HttpIO::FailedToGetChunkError)
end end
end end
......
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