diff --git a/spec/models/topic_spec.rb b/spec/models/topic_spec.rb index 83a08358949..0c7f4ba4c58 100644 --- a/spec/models/topic_spec.rb +++ b/spec/models/topic_spec.rb @@ -1229,6 +1229,7 @@ describe Topic do # for_digest Topic.for_digest(Fabricate(:user), 1.year.ago).count.should == 0 + Topic.for_digest(Fabricate(:admin), 1.year.ago).count.should == 2 end end