From 3f16e1e335ed24e53872b8c857bfe9c12d3d6acf Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 1 Jul 2014 17:33:54 -0400 Subject: [PATCH] Enable trust level 3 promotion/demotion job --- app/jobs/scheduled/leader_promotions.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/jobs/scheduled/leader_promotions.rb b/app/jobs/scheduled/leader_promotions.rb index 12d90b692e5..8a1d6eff719 100644 --- a/app/jobs/scheduled/leader_promotions.rb +++ b/app/jobs/scheduled/leader_promotions.rb @@ -4,8 +4,6 @@ module Jobs daily at: 4.hours def execute(args) - return unless Rails.env.test? # do nothing for now - # Demotions demoted_user_ids = [] User.real.where(trust_level: TrustLevel.levels[:leader]).find_each do |u|