require 'helper'

describe 'adapter ssl' do
  # TODO: this seems to rely on openssl versions used to build the mysql server.
  it 'should connect to database with ssl options' do
    skip
    key  = File.join(File.dirname(__FILE__), 'server.key')
    cert = File.join(File.dirname(__FILE__), 'server.crt')
    assert Swift::DB::Mysql.new(db: 'swift_test', ssl: {key: key, cert: cert})
  end
end
