Skip to content

Commit 88e9521

Browse files
authored
Simplify fixture path configuration
1 parent 533d7ab commit 88e9521

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@
4848
# When we're testing the API, only run the api tests
4949
config.filter_run api: true if ENV['BLACKLIGHT_API_TEST'].present?
5050

51-
if Rails.version.to_f >= 7.1
52-
config.fixture_paths = [Rails.root.join("spec/fixtures")]
53-
else
54-
config.fixture_path = Rails.root.join("spec/fixtures")
55-
end
51+
config.fixture_paths = [Rails.root.join("spec/fixtures")]
5652

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

0 commit comments

Comments
 (0)