annotate test/test_helper.rb @ 492:3038dddd33cb
Adjust build script (matches rails default)
author |
nanaya <me@nanaya.net> |
date |
Tue, 17 Jan 2023 02:50:24 +0900 |
parents |
7c7b7906ebd9 |
children |
|
rev |
line source |
292
|
1 ENV["RAILS_ENV"] ||= "test"
|
331
|
2 require File.expand_path("../../config/environment", __FILE__)
|
|
3 require "rails/test_help"
|
292
|
4
|
|
5 class ActiveSupport::TestCase
|
|
6 ActiveRecord::Migration.check_pending!
|
|
7
|
|
8 # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
|
9 #
|
|
10 # Note: You'll currently still have to declare fixtures explicitly in integration tests
|
|
11 # -- they do not yet inherit this setting
|
|
12 fixtures :all
|
|
13
|
|
14 # Add more helper methods to be used by all tests here...
|
|
15 end
|