-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
never set
metadata/storage_adapter
to wings or AF if disable_wings
some test on `.koppie` seem to fail on test order(?) issues, when they decide to use the Wings adapter for metadata persistence. it seems like something during the test suite run is setting the adapter to `:wings_adapter` and then not unsetting it. my best guess is that something is requiring `wings` or `wings/setup` (maybe via `wings/helper`) during the test run.
- Loading branch information
tamsin johnson
authored and
tamsin johnson
committed
Aug 29, 2023
1 parent
a1770c3
commit 967f255
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# frozen_string_literal: true | ||
require 'spec_helper' | ||
require 'wings' | ||
unless Hyrax.config.disable_wings | ||
require 'wings' | ||
|
||
Dir[File.expand_path(File.join(File.dirname(__FILE__), 'wings', 'support', 'matchers', '**', '*.rb'))].each { |f| require f } | ||
Dir[File.expand_path(File.join(File.dirname(__FILE__), 'wings', 'support', 'matchers', '**', '*.rb'))].each { |f| require f } | ||
end |