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