diff --git a/app/lib/celery_script/ast_node.rb b/app/lib/celery_script/ast_node.rb index 5e98a976a..7919948bd 100644 --- a/app/lib/celery_script/ast_node.rb +++ b/app/lib/celery_script/ast_node.rb @@ -1,5 +1,3 @@ -require_relative "./checker" - module CeleryScript class AbstractNode def invalidate!(message = "Unspecified type check error.") diff --git a/app/mutations/devices/create.rb b/app/mutations/devices/create.rb index 1c6265d16..7b98ed96a 100644 --- a/app/mutations/devices/create.rb +++ b/app/mutations/devices/create.rb @@ -1,5 +1,3 @@ -require_relative "../../../lib/haikunator" - module Devices class Create < Mutations::Command using LegacyRefinementsModule diff --git a/config/environments/test.rb b/config/environments/test.rb index dcb46a62f..4b322e21c 100755 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -10,7 +10,7 @@ FarmBot::Application.configure do # Do not eager load code on boot. This avoids loading your whole application # just for the purpose of running a single test. If you are using a tool that # preloads Rails for running tests, you may have to set it to true. - config.eager_load = false + config.eager_load = true # Configure static asset server for tests with Cache-Control for performance. config.public_file_server.enabled = true