mirror of https://github.com/rails/rails
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:
parent
8f6ee6487f
commit
b8433879bc
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue