Skip to content

Commit

Permalink
Fix a warning from rails
Browse files Browse the repository at this point in the history
```
config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:

  * development - set it to false
  * test - set it to false (unless you use a tool that preloads your test environment)
  * production - set it to true
````
  • Loading branch information
willnet committed Dec 13, 2021
1 parent 7246e56 commit 587f501
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
ENV['RAILS_ENV'] = 'test'

FakeApp = Class.new(Rails::Application)
FakeApp.config.eager_load = false

Delayed::Worker.backend = :test

Expand Down

0 comments on commit 587f501

Please sign in to comment.