annotate test/test_helper.rb @ 506:b5c6fd96100b default tip

Readd the field error proc config
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:46:09 +0900
parents 92929378413e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
292
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 ENV["RAILS_ENV"] ||= "test"
495
92929378413e Update to latest rails
nanaya <me@nanaya.net>
parents: 331
diff changeset
2 require_relative "../config/environment"
331
7c7b7906ebd9 Some more coding style.
edogawaconan <me@myconan.net>
parents: 292
diff changeset
3 require "rails/test_help"
292
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
4
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 class ActiveSupport::TestCase
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 #
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 # Note: You'll currently still have to declare fixtures explicitly in integration tests
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 # -- they do not yet inherit this setting
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 fixtures :all
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
11
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
12 # Add more helper methods to be used by all tests here...
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 end