[noosfero/noosfero][next] Fix broken test in UserTest
Victor Costa
gitlab at gitlab.com
Mon May 4 10:53:22 BRT 2015
Victor Costa pushed to branch next at Noosfero / noosfero
Commits:
d50a0b4f by Victor Costa at 2015-05-04T10:52:09Z
Fix broken test in UserTest
- - - - -
1 changed file:
- test/unit/user_test.rb
Changes:
=====================================
test/unit/user_test.rb
=====================================
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -554,6 +554,7 @@ class UserTest < ActiveSupport::TestCase
should 'delay activation check with custom time' do
NOOSFERO_CONF.stubs(:[]).with('hours_until_user_activation_check').returns(240)
+ NOOSFERO_CONF.stubs(:[]).with('exclude_profile_identifier_pattern')
user = new_user
job = Delayed::Job.last
assert_match /UserActivationJob/, job.handler
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/d50a0b4f5e7bc68ac7e6dc753fad790dbfa16aa9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150504/d169c655/attachment.html>
More information about the Noosfero-dev
mailing list