From 67076306d5fae438637df0dfdecc8d17cf64643a Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Fri, 8 Nov 2024 11:20:49 -0500 Subject: [PATCH] move spec again --- Rakefile | 2 +- .../di/contrib/{ => rails}/serializer_active_record_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename spec/datadog/di/contrib/{ => rails}/serializer_active_record_spec.rb (98%) diff --git a/Rakefile b/Rakefile index 73dabbf651..8fe0acb186 100644 --- a/Rakefile +++ b/Rakefile @@ -132,7 +132,7 @@ namespace :spec do desc '' # "Explicitly hiding from `rake -T`" RSpec::Core::RakeTask.new(:rails) do |t, args| - t.pattern = 'spec/datadog/tracing/contrib/rails/**/*_spec.rb,spec/datadog/di/contrib/*_active_record_spec.rb' + t.pattern = 'spec/datadog/tracing/contrib/rails/**/*_spec.rb,spec/datadog/di/contrib/rails/**/*_spec.rb' t.exclude_pattern = 'spec/datadog/tracing/contrib/rails/**/*{active_job,disable_env,redis_cache,auto_instrument,'\ 'semantic_logger}*_spec.rb' t.rspec_opts = args.to_a.join(' ') diff --git a/spec/datadog/di/contrib/serializer_active_record_spec.rb b/spec/datadog/di/contrib/rails/serializer_active_record_spec.rb similarity index 98% rename from spec/datadog/di/contrib/serializer_active_record_spec.rb rename to spec/datadog/di/contrib/rails/serializer_active_record_spec.rb index baa73a7064..f93c80c8a8 100644 --- a/spec/datadog/di/contrib/serializer_active_record_spec.rb +++ b/spec/datadog/di/contrib/rails/serializer_active_record_spec.rb @@ -1,7 +1,7 @@ require 'datadog/tracing/contrib/rails/rails_helper' require "datadog/di/spec_helper" require "datadog/di/serializer" -require_relative '../serializer_helper' +require_relative '../../serializer_helper' require 'active_record' require "datadog/di/contrib/active_record"