chore: Upgrade rails and ruby versions (#2400)
ruby version: 3.0.2 rails version: 6.1.4
This commit is contained in:
@@ -23,7 +23,7 @@ require 'sidekiq/testing'
|
||||
# require only the support files necessary.
|
||||
#
|
||||
# rubocop:disable Rails/FilePath
|
||||
Dir[Rails.root.join('spec', 'support', '**', '*.rb')].sort.each { |f| require f }
|
||||
Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
|
||||
# rubocop:enable Rails/FilePath
|
||||
|
||||
# Checks for pending migrations and applies them before tests are run.
|
||||
@@ -79,4 +79,5 @@ end
|
||||
# Required for fixture_file_upload
|
||||
FactoryBot::SyntaxRunner.class_eval do
|
||||
include ActionDispatch::TestProcess
|
||||
include ActiveSupport::Testing::FileFixtures
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user