ffmike (owner)

Revisions

gist: 173550 Download_button fork
public
Public Clone URL: git://gist.github.com/173550.git
Embed All Files: show embed
test_helper.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'
require 'shoulda'
require 'mocha'
require 'authlogic/test_case'
 
class ActiveSupport::TestCase
  
  self.use_transactional_fixtures = true
  self.use_instantiated_fixtures = false
 
  # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
  #
  # Note: You'll currently still have to declare fixtures explicitly in integration tests
  # -- they do not yet inherit this setting
  #fixtures :all
 
  # Add more helper methods to be used by all tests here...
end
 
class ActionController::TestCase
  setup :activate_authlogic
end