aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/spec/spec_helper.rb
blob: 004fdfca079d8ab9776c927b0563f76449677108 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ENV['LOG_NAME'] = 'spec'
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'vendor', 'rspec', 'lib')
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
require 'active_model'
begin
  require 'spec'
rescue LoadError
  require 'rubygems'
  require 'spec'
end

begin
  require 'ruby-debug'
  Debugger.start
rescue LoadError
  # you do not know the ways of ruby-debug yet, what a shame
end