Merge pull request #2878 from evazion/fix-test-coverage

Improve controller test coverage
This commit is contained in:
Albert Yi
2017-02-07 13:45:16 -08:00
committed by GitHub
44 changed files with 1161 additions and 243 deletions

View File

@@ -12,6 +12,6 @@ class AdminDashboard
end
def forum_topics
ForumTopic.where(category_id: 1).order("id desc").limit(20)
ForumTopic.search(category_id: 1).order("id desc").limit(20)
end
end