Commit d50a0b4f5e7bc68ac7e6dc753fad790dbfa16aa9

Authored by Victor Costa
1 parent fecb92d5

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 554  
555 555 should 'delay activation check with custom time' do
556 556 NOOSFERO_CONF.stubs(:[]).with('hours_until_user_activation_check').returns(240)
  557 + NOOSFERO_CONF.stubs(:[]).with('exclude_profile_identifier_pattern')
557 558 user = new_user
558 559 job = Delayed::Job.last
559 560 assert_match /UserActivationJob/, job.handler
... ...