Mercurial > zeropaste
comparison 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 |
comparison
equal
deleted
inserted
replaced
494:e508d3226214 | 495:92929378413e |
---|---|
1 ENV["RAILS_ENV"] ||= "test" | 1 ENV["RAILS_ENV"] ||= "test" |
2 require File.expand_path("../../config/environment", __FILE__) | 2 require_relative "../config/environment" |
3 require "rails/test_help" | 3 require "rails/test_help" |
4 | 4 |
5 class ActiveSupport::TestCase | 5 class ActiveSupport::TestCase |
6 ActiveRecord::Migration.check_pending! | |
7 | |
8 # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. | 6 # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. |
9 # | 7 # |
10 # Note: You'll currently still have to declare fixtures explicitly in integration tests | 8 # Note: You'll currently still have to declare fixtures explicitly in integration tests |
11 # -- they do not yet inherit this setting | 9 # -- they do not yet inherit this setting |
12 fixtures :all | 10 fixtures :all |