Fix Action Mailbox tests

ActiveSupport::TestCase isn't defined until later in the file, so the
skip override can be added at the end to ensure it exists (similar to
what the Action Pack tests do)
This commit is contained in:
Hartley McGuire 2023-11-27 18:23:56 -05:00
parent 8f6ee6487f
commit b8433879bc
No known key found for this signature in database
GPG Key ID: E823FC1403858A82
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,6 @@ require "active_support/testing/strict_warnings"
ENV["RAILS_ENV"] = "test"
ENV["RAILS_INBOUND_EMAIL_PASSWORD"] = "tbsy84uSV1Kt3ZJZELY2TmShPRs91E3yL4tzf96297vBCkDWgL"
require_relative "../../tools/test_common"
require_relative "../test/dummy/config/environment"
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)]
require "rails/test_help"
@ -55,3 +53,5 @@ class BounceMailer < ActionMailer::Base
end
end
end
require_relative "../../tools/test_common"