diff test/test_helper.rb @ 495:92929378413e

Update to latest rails
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:18:06 +0900
parents 7c7b7906ebd9
children
line wrap: on
line diff
--- a/test/test_helper.rb	Sun Oct 29 23:24:13 2023 +0900
+++ b/test/test_helper.rb	Sun Dec 15 22:18:06 2024 +0900
@@ -1,10 +1,8 @@
 ENV["RAILS_ENV"] ||= "test"
-require File.expand_path("../../config/environment", __FILE__)
+require_relative "../config/environment"
 require "rails/test_help"
 
 class ActiveSupport::TestCase
-  ActiveRecord::Migration.check_pending!
-
   # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
   #
   # Note: You'll currently still have to declare fixtures explicitly in integration tests