Commit 4cc355c4 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Fix exception assertion due to JSON upgrade

The exception message changed when we upgraded the JSON gem so the
assertion is no longer valid
parent acb2207b
......@@ -59,7 +59,7 @@ describe Gitlab::Kubernetes::Helm::Parsers::ListV2 do
it 'raises an error on invalid JSON' do
expect do
described_class.new('')
end.to raise_error(described_class::ParserError, 'A JSON text must at least contain two octets!')
end.to raise_error(described_class::ParserError)
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