Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 22 lines (19 sloc) 0.87 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# encoding: utf-8

require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
require 'data_objects/spec/encoding_spec'

describe DataObjects::Postgres::Connection do
  unless JRUBY
    # Do NOT test this on JRuby:
    #
    # http://jdbc.postgresql.org/documentation/80/connect.html
    #
    # According to the Postgres documentation, as of Postgres 7.2, multibyte
    # support is enabled by default in the server. The underlying JDBC Driver
    # handles setting the internal client_encoding setting appropriately. It
    # can be overridden -- but for now, we won't support doing this.
    #
    behaves_like 'a driver supporting different encodings'
    behaves_like 'returning correctly encoded strings for the default database encoding'
    behaves_like 'returning correctly encoded strings for the default internal encoding'
  end
end
Something went wrong with that request. Please try again.