annotate test/test_helper.rb @ 406:c302c80dfa0c

Fix url.
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 04:41:03 +0900
parents 7c7b7906ebd9
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"
331
7c7b7906ebd9 Some more coding style.
edogawaconan <me@myconan.net>
parents: 292
diff changeset
2 require File.expand_path("../../config/environment", __FILE__)
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 ActiveRecord::Migration.check_pending!
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
7
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 #
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 # Note: You'll currently still have to declare fixtures explicitly in integration tests
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
11 # -- they do not yet inherit this setting
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
12 fixtures :all
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
13
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 # Add more helper methods to be used by all tests here...
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
15 end