aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/helper.rb
blob: f023109a601561d00c69f10df51d97a0947479ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$:.unshift(File.dirname(__FILE__) + '/../../lib')
$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib')

require 'config'

require 'active_model'

# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = true

require 'rubygems'
require 'test/unit'
gem 'mocha', '>= 0.9.5'
require 'mocha'

begin
  require 'ruby-debug'
  Debugger.start
rescue LoadError
end