Modified: trunk/config/environment.rb (2608 => 2609)
--- trunk/config/environment.rb 2011-06-17 13:58:25 UTC (rev 2608)
+++ trunk/config/environment.rb 2011-06-27 11:15:17 UTC (rev 2609)
@@ -83,5 +83,14 @@
ActionMailer::Base.smtp_settings = Conf.smtp
+# don't require actual keys for recaptcha during tests
+
+if RAILS_ENV == 'test'
+ Recaptcha.configure do |config|
+ config.public_key = ''
+ config.private_key = ''
+ end
+end
+
load 'config/environment_private.rb' if FileTest.exist?('config/environment_private.rb')