diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-07-22 15:55:48 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-07-22 15:55:48 +0100 |
commit | 11a73eef1d83cfa3bc3c145de483fa81c25d6216 (patch) | |
tree | f8d6da387cdf48e1283bfac20c316358ff571708 /spec/spec_helper.rb | |
parent | 51f9ab2ac1b779e31aa54ebf9485a1a72eb7cee0 (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.rb | 4 |
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' |