aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-07-12 13:42:26 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-07-12 13:42:26 +0100
commit15973386cb4f412cf439414ef908d4594c897f24 (patch)
treeb521949cb2f59bc2e4b117246561e524e870420e
parent3dfc53f6b82b3c5da79a4c710d45b859f61f4f5f (diff)
override config for tests
-rw-r--r--spec/spec_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 33793dea3..5e6d9ec4a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -10,6 +10,9 @@ config = MySociety::Config.load_default()
config['ADMIN_USERNAME'] = 'foo'
config['ADMIN_PASSWORD'] = 'baz'
+# tests assume 20 days
+config['REPLY_LATE_AFTER_DAYS'] = 20
+
# Uncomment the next line to use webrat's matchers
#require 'webrat/integrations/rspec-rails'