Skip to content

Commit b843387

Browse files
committed
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)
1 parent 8f6ee64 commit b843387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actionmailbox/test/test_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
ENV["RAILS_ENV"] = "test"
66
ENV["RAILS_INBOUND_EMAIL_PASSWORD"] = "tbsy84uSV1Kt3ZJZELY2TmShPRs91E3yL4tzf96297vBCkDWgL"
77

8-
require_relative "../../tools/test_common"
9-
108
require_relative "../test/dummy/config/environment"
119
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)]
1210
require "rails/test_help"
@@ -55,3 +53,5 @@ def bounce(to:)
5553
end
5654
end
5755
end
56+
57+
require_relative "../../tools/test_common"

0 commit comments

Comments
 (0)