aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/cases/connection_adapters/connection_specification_test.rb
blob: ea2196cda2de4416a8773d7ff0e2c864c2a82e44 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                          
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