Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@
# When we're testing the API, only run the api tests
config.filter_run api: true if ENV['BLACKLIGHT_API_TEST'].present?

if Rails.version.to_f >= 7.1
config.fixture_paths = [Rails.root.join("spec/fixtures")]
else
config.fixture_path = Rails.root.join("spec/fixtures")
end
config.fixture_paths = [Rails.root.join("spec/fixtures")]

# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, remove the following line or assign false
Expand Down