annotate test/test_helper.rb @ 298:ff27821f9272

A test! Can you imagine that?!
author edogawaconan <me@myconan.net>
date Wed, 12 Feb 2014 15:10:42 +0900
parents 207853e26088
children 7c7b7906ebd9
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"
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
2 require File.expand_path('../../config/environment', __FILE__)
207853e26088 Add test back.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 require 'rails/test_help'
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