Skip to content

Commit

Permalink
Use DfE Analytics testing
Browse files Browse the repository at this point in the history
This changes the way we disable DfE Analytics in our tests by using the
built-in DfE Analytics fake testing mode.

Note that this depends on
DFE-Digital/dfe-analytics#26.
  • Loading branch information
thomasleese committed Jun 30, 2022
1 parent 9f49d49 commit 841da1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions spec/support/dfe_analytics.rb

This file was deleted.

0 comments on commit 841da1d

Please sign in to comment.