correct spec to account for category definition topics

This commit is contained in:
Sam 2014-02-11 10:50:14 +11:00
parent 750d3a6b18
commit 4a35d055bc

View file

@ -30,12 +30,12 @@ describe TopicQuery do
# mods can see hidden topics
TopicQuery.new(moderator).list_latest.topics.count.should == 1
# admins can see all the topics
TopicQuery.new(admin).list_latest.topics.count.should == 2
TopicQuery.new(admin).list_latest.topics.count.should == 3
group.add(user)
group.save
TopicQuery.new(user).list_latest.topics.count.should == 1
TopicQuery.new(user).list_latest.topics.count.should == 2
end