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)