diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index e8b9271a4c..44d46568fe 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -9,6 +9,7 @@ require "rspec/rails" # Add additional requires below this line. Rails is not loaded until this point! require "capybara/cuprite" +require "dfe/analytics/testing" require "view_component/test_helpers" # Requires supporting ruby files with custom matchers and macros, etc, in diff --git a/spec/support/dfe_analytics.rb b/spec/support/dfe_analytics.rb deleted file mode 100644 index ed048a6966..0000000000 --- a/spec/support/dfe_analytics.rb +++ /dev/null @@ -1,5 +0,0 @@ -RSpec.configure do |config| - config.around(:example, type: :system) do |example| - ClimateControl.modify(BIGQUERY_DISABLE: "true") { example.run } - end -end