Skip to content

Commit 088c0fe

Browse files
committed
pending test if Encoding is not defined
1 parent 7757a66 commit 088c0fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/mysql2/client_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,8 @@ def run_gc
705705
end
706706

707707
context 'when mysql encoding is not utf8' do
708+
before { pending('Encoding is undefined') unless defined?(Encoding) }
709+
708710
let(:client) { Mysql2::Client.new(DatabaseCredentials['root'].merge(:encoding => "ujis")) }
709711

710712
it 'should return a internal encoding string if Encoding.default_internal is set' do

0 commit comments

Comments
 (0)