Skip to content

Commit

Permalink
pending test if Encoding is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
takatoshiono authored and sodabrew committed Jul 26, 2015
1 parent dee15d4 commit 1e61a22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/mysql2/client_spec.rb
Expand Up @@ -718,6 +718,8 @@ def connect *args
end

context 'when mysql encoding is not utf8' do
before { pending('Encoding is undefined') unless defined?(Encoding) }

let(:client) { Mysql2::Client.new(DatabaseCredentials['root'].merge(:encoding => "ujis")) }

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

0 comments on commit 1e61a22

Please sign in to comment.