OSDN Git Service

add code block sample
[example/hello.git] / test / test_helper.rb
1 ENV["RAILS_ENV"] ||= "test"
2 require File.expand_path('../../config/environment', __FILE__)
3 require 'rails/test_help'
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