refactor!: update minimum Ruby version to 3.0

Этот коммит содержится в:
Mattia Roccoberton
2024-02-25 11:58:22 +01:00
родитель 22a1c8714c
Коммит ce65cfbb7e
10 изменённых файлов: 22 добавлений и 63 удалений

Просмотреть файл

@@ -12,7 +12,7 @@ require 'rspec/rails'
require 'capybara/rails'
require 'rspec/retry'
Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each { |f| require f }
Dir[File.expand_path('support/**/*.rb', __dir__)].each { |f| require f }
# Force deprecations to raise an exception.
ActiveSupport::Deprecation.behavior = :raise
@@ -27,7 +27,7 @@ rescue ActiveRecord::PendingMigrationError => e
end
RSpec.configure do |config|
config.fixture_path = "#{::Rails.root}/spec/fixtures"
config.fixture_path = Rails.root.join('spec/fixtures').to_s
config.infer_spec_type_from_file_location!
config.filter_rails_from_backtrace!