Skip to content

Commit

Permalink
Include TaggedLogging in FactoryBot to workaround issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcolvar authored and randalldfloyd committed Dec 3, 2024
1 parent 98f2362 commit 5f814d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def clean_active_fedora_repository
config.before :suite do
FactoryBot::SyntaxRunner.include ActiveJob::TestHelper
FactoryBot::SyntaxRunner.include RSpec::Mocks::ExampleMethods
FactoryBot::SyntaxRunner.include ActiveSupport::Testing::TaggedLogging
Hyrax::RedisEventStore.instance.then(&:flushdb)
DatabaseCleaner.clean_with(:truncation)
# Noid minting causes extra LDP requests which slow the test suite.
Expand Down

0 comments on commit 5f814d8

Please sign in to comment.