diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-12-18 02:21:30 +0300 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-12-18 02:21:30 +0300 |
commit | 236876f27823953138bb212db284782032d117d4 (patch) | |
tree | 9ba7093fb7e88be0ef2b57121ab04f92abb9f5ca /spec/lib/gitlab/encoding_helper_spec.rb | |
parent | 6964e510534c1d08fd730918ba3b9581dbd679a6 (diff) |
Update specs to exclude possible false positive pass
Diffstat (limited to 'spec/lib/gitlab/encoding_helper_spec.rb')
-rw-r--r-- | spec/lib/gitlab/encoding_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/encoding_helper_spec.rb b/spec/lib/gitlab/encoding_helper_spec.rb index a5bf2f2b3df..429816efec3 100644 --- a/spec/lib/gitlab/encoding_helper_spec.rb +++ b/spec/lib/gitlab/encoding_helper_spec.rb @@ -124,7 +124,7 @@ describe Gitlab::EncodingHelper do end it 'returns empty string on conversion errors' do - expect { ext_class.encode_utf8('') }.not_to raise_error(ArgumentError) + expect { ext_class.encode_utf8('') }.not_to raise_error end context 'with strings that can be forcefully encoded into utf8' do |