From ba6904bb279fc3b5539df3f24a796bc2efaa564b Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 8 May 2019 15:45:25 +0800 Subject: [PATCH] Fix broken spec in 405ba00c08a86778a7baf28e93388201162a5347. --- spec/models/user_action_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/models/user_action_spec.rb b/spec/models/user_action_spec.rb index 12ecf3d917a..de0e3f1cdc2 100644 --- a/spec/models/user_action_spec.rb +++ b/spec/models/user_action_spec.rb @@ -53,6 +53,7 @@ describe UserAction do end it 'includes the events correctly' do + Jobs.run_immediately! PostActionNotifier.enable mystats = stats_for_user(user)