root/branches/2-1-caching/activemodel/spec/spec_helper.rb
| Revision 8118, 399 bytes (checked in by rick, 1 year ago) |
|---|
| Line | |
|---|---|
| 1 | ENV['LOG_NAME'] = 'spec' |
| 2 | $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'vendor', 'rspec', 'lib') |
| 3 | $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') |
| 4 | require 'active_model' |
| 5 | begin |
| 6 | require 'spec' |
| 7 | rescue LoadError |
| 8 | require 'rubygems' |
| 9 | require 'spec' |
| 10 | end |
| 11 | |
| 12 | begin |
| 13 | require 'ruby-debug' |
| 14 | Debugger.start |
| 15 | rescue LoadError |
| 16 | # you do not know the ways of ruby-debug yet, what a shame |
| 17 | end |
Note: See TracBrowser for help on using the browser.