diff options
Diffstat (limited to 'vendor/plugins/interlock/test/test_helper.rb')
-rw-r--r-- | vendor/plugins/interlock/test/test_helper.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/plugins/interlock/test/test_helper.rb b/vendor/plugins/interlock/test/test_helper.rb new file mode 100644 index 000000000..95eb1a629 --- /dev/null +++ b/vendor/plugins/interlock/test/test_helper.rb @@ -0,0 +1,20 @@ + +$VERBOSE = nil +require 'rubygems' +require 'test/unit' +require 'echoe' +require 'multi_rails_init' + +if defined? ENV['MULTIRAILS_RAILS_VERSION'] + ENV['RAILS_GEM_VERSION'] = ENV['MULTIRAILS_RAILS_VERSION'] +end + +$rcov = ENV['RCOV'] +require 'ruby-debug' unless $rcov + +Echoe.silence do + HERE = File.expand_path(File.dirname(__FILE__)) + $LOAD_PATH << HERE +end + +require 'integration/app/config/environment' |