fix spec (#7298)

fix spec (#7298)

diff --git a/app/models/admin_dashboard_data.rb b/app/models/admin_dashboard_data.rb
index 52c4029..168b551 100644
--- a/app/models/admin_dashboard_data.rb
+++ b/app/models/admin_dashboard_data.rb
@@ -3,6 +3,9 @@ require_dependency 'mem_info'
 class AdminDashboardData
   include StatsCacheable
 
+  # kept for backward compatibility
+  GLOBAL_REPORTS ||= []
+
   def initialize(opts = {})
     @opts = opts
   end

GitHub sha: 6e0e36f7

1 Like