Sha256: 6a2db5d58f0f59209d1c71d80214eb4f5e352e55564f541bc4cb329ccae2ede1

Contents?: true

Size: 904 Bytes

Versions: 64

Compression:

Stored size: 904 Bytes

Contents

# encoding: utf-8

require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
require 'data_objects/spec/shared/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.
    #
    it_should_behave_like 'a driver supporting different encodings'
    it_should_behave_like 'returning correctly encoded strings for the default database encoding'
    it_should_behave_like 'returning correctly encoded strings for the default internal encoding'
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
do_postgres-0.10.17 spec/encoding_spec.rb
do_postgres-0.10.17-x86-mswin32-60 spec/encoding_spec.rb
do_postgres-0.10.17-x86-mingw32 spec/encoding_spec.rb
do_postgres-0.10.17-java spec/encoding_spec.rb
do_postgres-0.10.16 spec/encoding_spec.rb
do_postgres-0.10.16-x86-mswin32-60 spec/encoding_spec.rb
do_postgres-0.10.16-x86-mingw32 spec/encoding_spec.rb
do_postgres-0.10.16-java spec/encoding_spec.rb
do_postgres-0.10.15 spec/encoding_spec.rb
do_postgres-0.10.15-x86-mswin32-60 spec/encoding_spec.rb
do_postgres-0.10.15-x86-mingw32 spec/encoding_spec.rb
do_postgres-0.10.15-java spec/encoding_spec.rb
do_postgres-0.10.14 spec/encoding_spec.rb
do_postgres-0.10.14-x86-mswin32-60 spec/encoding_spec.rb
do_postgres-0.10.14-x86-mingw32 spec/encoding_spec.rb
do_postgres-0.10.14-java spec/encoding_spec.rb
do_postgres-0.10.13 spec/encoding_spec.rb
do_postgres-0.10.13-x86-mswin32-60 spec/encoding_spec.rb
do_postgres-0.10.13-x86-mingw32 spec/encoding_spec.rb
do_postgres-0.10.13-java spec/encoding_spec.rb