diff options
author | Francis Irving <francis@mysociety.org> | 2010-09-03 15:52:05 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-09-03 15:52:05 +0100 |
commit | d06975ca01f0033bcd9dd4253007319c507a4c4c (patch) | |
tree | aba6e94a26d685a5c301e8ec51b03bc6f36fb824 /vendor/plugins/interlock/test/test_helper.rb | |
parent | 08430db20111c7e853cad6c1710ebc3dc4150375 (diff) |
Use interlock and memcached to cache front page with interlocking
view/controller fragments.
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' |