Sha256: ae69c3cfd93981c41b54d6055ea15da443e75013787389ae2562aebde0daf3eb

Contents?: true

Size: 361 Bytes

Versions: 10

Compression:

Stored size: 361 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

10 entries across 10 versions & 1 rubygems

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