aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-07-22 15:55:48 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-07-22 15:55:48 +0100
commit11a73eef1d83cfa3bc3c145de483fa81c25d6216 (patch)
treef8d6da387cdf48e1283bfac20c316358ff571708 /spec/spec_helper.rb
parent51f9ab2ac1b779e31aa54ebf9485a1a72eb7cee0 (diff)
Store raw_emails in the filesystem, not in the database. They don't need to be in the database (we never write to them, for example), and they bloat it unecessarily, making backups etc difficult.
NOTE: this migration could take a *very* long time.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 5e6d9ec4a..bbcc9aa23 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -13,6 +13,10 @@ config['ADMIN_PASSWORD'] = 'baz'
# tests assume 20 days
config['REPLY_LATE_AFTER_DAYS'] = 20
+# tests assume 20 days
+config['RAW_EMAILS_LOCATION'] = 'files/raw_emails_tests'
+
+
# Uncomment the next line to use webrat's matchers
#require 'webrat/integrations/rspec-rails'