Skip to content

Commit

Permalink
Enable reloading for test on rails 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kanety committed Oct 13, 2023
1 parent cbc7be9 commit 3af24a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/dummy/config/environments/test.rb
Expand Up @@ -2,3 +2,7 @@
config.cache_classes = true
config.eager_load = false
end

if Rails::VERSION::STRING.to_f == 6.0
Rails.autoloaders.main.enable_reloading
end

0 comments on commit 3af24a4

Please sign in to comment.