category stats shouldn't include deleted topics.

This commit is contained in:
Dan Neumann
2013-02-16 14:57:16 -06:00
parent 921c3f016f
commit fac75401ef
4 changed files with 66 additions and 35 deletions

View File

@ -3,6 +3,10 @@ Fabricator(:topic) do
title { sequence(:title) { |i| "Test topic #{i}" } }
end
Fabricator(:deleted_topic, from: :topic) do
deleted_at Time.now
end
Fabricator(:topic_allowed_user) do
end