diff --git a/spec/datadog/di/contrib/active_record/serializer_active_record_spec.rb b/spec/datadog/di/contrib/active_record/serializer_active_record_spec.rb index df6cf17f317..c8bf7efc1d2 100644 --- a/spec/datadog/di/contrib/active_record/serializer_active_record_spec.rb +++ b/spec/datadog/di/contrib/active_record/serializer_active_record_spec.rb @@ -17,6 +17,7 @@ class SerializerRailsSpecTestBasicModel < ActiveRecord::Base extend SerializerHelper before(:all) do + xx @original_config = begin if defined?(::ActiveRecord::Base.connection_db_config) ::ActiveRecord::Base.connection_db_config