Sha256: d1b31f44c386b3c38982b364238ffce27821068de8dba33ffb35a5885ef10c4c

Contents?: true

Size: 349 Bytes

Versions: 13

Compression:

Stored size: 349 Bytes

Contents

require "cases/helper"

module ActiveRecord
  module ConnectionAdapters
    class ConnectionSpecificationTest < ActiveRecord::TestCase
      def test_dup_deep_copy_config
        spec = ConnectionSpecification.new("primary", { :a => :b }, "bar")
        assert_not_equal(spec.config.object_id, spec.dup.config.object_id)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ibm_db-5.5.0 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.4.1 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.4.0 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.3.2 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.3.1 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.2.0 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.1.0 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.0.5 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.0.4 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.0.3 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-5.0.2 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-4.0.0-x86-mingw32 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-4.0.0 test/cases/connection_adapters/connection_specification_test.rb