From d50a0b4f5e7bc68ac7e6dc753fad790dbfa16aa9 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 4 May 2015 10:52:09 -0300 Subject: [PATCH] Fix broken test in UserTest --- test/unit/user_test.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 7dd2c61..4551feb 100644 --- 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 -- libgit2 0.21.2