From 4a35d055bcff0fabdf2aa0075d6f8fc8e9486cbc Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 11 Feb 2014 10:50:14 +1100 Subject: [PATCH] correct spec to account for category definition topics --- spec/components/topic_query_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/components/topic_query_spec.rb b/spec/components/topic_query_spec.rb index f0bcc75494..c595adcb93 100644 --- a/spec/components/topic_query_spec.rb +++ b/spec/components/topic_query_spec.rb @@ -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