Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Oct 17, 2023
1 parent e9404b2 commit cd6af72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/base_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@

module TestApp
class Application < Rails::Application
config.root = File.dirname(__FILE__)
config.try :load_defaults, "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"

config.root = __dir__
config.active_support.deprecation = :log
config.active_support.test_order = :random
config.eager_load = false
Expand Down

0 comments on commit cd6af72

Please sign in to comment.