aboutsummaryrefslogblamecommitdiffstats
path: root/activemodel/test/cases/helper.rb
blob: 30193956eae6ecf6c4845fa115a7f6bbc109f505 (plain) (tree)
1
2
3
4
5
6
7
8
9
     
                                                                           
                
   
 
                                                

                                                             
                
                      
                                





                                                              





                      
begin
  require File.expand_path('../../../../vendor/gems/environment', __FILE__)
rescue LoadError
end

lib = File.expand_path('../../../lib', __FILE__)
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)

require 'config'
require 'active_model'
require 'active_model/test_case'

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

require 'rubygems'
require 'test/unit'

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