forked from e621ng/e621ng
[Tests] Add zeitwerk compliance check
Because I'm stupid
This commit is contained in:
parent
065a3c8ac0
commit
8fe5cb986b
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class TakedownJobCopy < ApplicationJob
|
||||
class TakedownJob < ApplicationJob
|
||||
queue_as :high_prio
|
||||
sidekiq_options lock: :until_executing, lock_args_method: :lock_args
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class TakedownJob < ApplicationJob
|
||||
class TakedownJobCopy < ApplicationJob
|
||||
queue_as :high_prio
|
||||
sidekiq_options lock: :until_executing, lock_args_method: :lock_args
|
||||
|
||||
|
7
test/unit/zeitwerk_test.rb
Normal file
7
test/unit/zeitwerk_test.rb
Normal file
@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class ZeitwerkTest < ActiveSupport::TestCase
|
||||
should "eager load all files without errors" do
|
||||
assert_nothing_raised { Rails.application.eager_load! }
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user