class ActiveRecord::ConnectionAdapters::ConnectionSpecificationTest
Public Instance Methods
test_dup_deep_copy_config()
click to toggle source
# File activerecord/test/cases/connection_adapters/connection_specification_test.rb, line 8 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