Commit d50a0b4f5e7bc68ac7e6dc753fad790dbfa16aa9
1 parent
fecb92d5
Exists in
master
and in
26 other branches
Fix broken test in UserTest
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/unit/user_test.rb
@@ -554,6 +554,7 @@ class UserTest < ActiveSupport::TestCase | @@ -554,6 +554,7 @@ class UserTest < ActiveSupport::TestCase | ||
554 | 554 | ||
555 | should 'delay activation check with custom time' do | 555 | should 'delay activation check with custom time' do |
556 | NOOSFERO_CONF.stubs(:[]).with('hours_until_user_activation_check').returns(240) | 556 | NOOSFERO_CONF.stubs(:[]).with('hours_until_user_activation_check').returns(240) |
557 | + NOOSFERO_CONF.stubs(:[]).with('exclude_profile_identifier_pattern') | ||
557 | user = new_user | 558 | user = new_user |
558 | job = Delayed::Job.last | 559 | job = Delayed::Job.last |
559 | assert_match /UserActivationJob/, job.handler | 560 | assert_match /UserActivationJob/, job.handler |