Skip to content

Commit

Permalink
take a tip from hyrax specs?
Browse files Browse the repository at this point in the history
  • Loading branch information
rococodogs committed Jan 8, 2025
1 parent bf9ab08 commit 7616dcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
config.before clean: true do
DatabaseCleaner.clean
ActiveFedora::Cleaner.clean!

# @see https://github.com/samvera/hyrax/blob/hyrax-v3.6.0/spec/spec_helper.rb#L121-L126
ActiveFedora.fedora.connection.send(:init_base_path)
end

config.before js: true do
Expand Down

0 comments on commit 7616dcb

Please sign in to comment.