DEV: Replace const munging in specs with stub_const helper (PR #13450)

stub_const was introduced in FIX: Make sure reset-new for tracked is not limited by per_page count… · discourse/discourse@6fe78cd · GitHub

GitHub