Sha256: 58d17607db516c047ea6cb7fe28e11979f60c294ec81ab725bdaa68fcbfc6efa

Contents?: true

Size: 338 Bytes

Versions: 12

Compression:

Stored size: 338 Bytes

Contents

require "cases/helper"

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

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
ibm_db-3.0.4-x86-mingw32 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-3.0.4 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-3.0.3-x86-mingw32 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-3.0.3 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-3.0.2-x86-mingw32 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-3.0.2 test/cases/connection_adapters/connection_specification_test.rb
activejob-lock-0.0.2 rails/activerecord/test/cases/connection_adapters/connection_specification_test.rb
ibm_db-3.0.1 test/cases/connection_adapters/connection_specification_test.rb
ibm_db-3.0.1-x86-mingw32 test/cases/connection_adapters/connection_specification_test.rb
activejob-lock-0.0.1 rails/activerecord/test/cases/connection_adapters/connection_specification_test.rb
activerecord-nuodb-adapter-1.1 test/cases/connection_adapters/connection_specification_test.rb
activerecord-nuodb-adapter-1.0.4 test/cases/connection_adapters/connection_specification_test.rb