aboutsummaryrefslogtreecommitdiffstats
path: root/railties/helpers/test_helper.rb
blob: 0a4be5957265a0d8a918fdfe12a49d2ef090f384 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'

class Test::Unit::TestCase
  # Turn off transactional fixtures if you're working with MyISAM tables in MySQL
  self.use_transactional_fixtures = true
  
  # Instantiated fixtures are slow, but give you @david where you otherwise would need people(:david)
  self.use_instantiated_fixtures  = false

  # Add more helper methods to be used by all tests here...
end