File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Gem::Specification.new do |s|
3535 s . add_dependency "zeitwerk"
3636
3737 s . add_development_dependency "rsolr" , ">= 1.0.6" , "< 3" # Library for interacting with rSolr.
38- s . add_development_dependency "rspec-rails" , "~> 6.1"
38+ s . add_development_dependency "rspec-rails" , ">= 6.1" , "< 8 "
3939 s . add_development_dependency "rspec-collection_matchers" , ">= 1.0"
4040 s . add_development_dependency 'axe-core-rspec'
4141 s . add_development_dependency "capybara" , '~> 3'
Original file line number Diff line number Diff line change 4949 # When we're testing the API, only run the api tests
5050 config . filter_run api : true if ENV [ 'BLACKLIGHT_API_TEST' ] . present?
5151
52- # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
53- config . fixture_path = Rails . root . join ( "spec/fixtures" )
52+ if Rails . version . to_f >= 7.1
53+ config . fixture_paths = [ Rails . root . join ( "spec/fixtures" ) ]
54+ else
55+ config . fixture_path = Rails . root . join ( "spec/fixtures" )
56+ end
5457
5558 # If you're not using ActiveRecord, or you'd prefer not to run each of your
5659 # examples within a transaction, remove the following line or assign false
You can’t perform that action at this time.
0 commit comments