FIX: dashboard posts report was including posts in daily data, but not in totals

This commit is contained in:
Neil Lalonde
2017-11-02 18:24:43 -04:00
parent c107e99138
commit c7d7cb940c
2 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,7 @@ describe Report do
post.topic.add_small_action(Fabricate(:admin), "invited_group", 'coolkids')
r = Report.find('posts')
expect(r.total).to eq(1)
expect(r.data[0][:y]).to eq(1)
end
end
end