Closed mgwalker closed 8 years ago
98.14%
Merging #40 into develop will increase coverage by +0.22% as of
729e49b
@@ develop #40 diff @@
=======================================
Files 12 14 +2
Stmts 193 216 +23
Branches 23 27 +4
Methods 0 0
=======================================
+ Hit 189 212 +23
Partial 2 2
Missed 2 2
Review entire Coverage Diff as of
729e49b
Powered by Codecov. Updated on successful CI builds.
:+1:
Adds two new helpers. One gets full user info from the Slack web API and caches it, the other builds up a report object so we can use the same thing in multiple places.
The
Standup
model is modified to includeuserRealName
, which corresponds to thereal_name
property returned from Slack. This is the value present at the time the standup is recorded.The
getStandupReport
helper is pulled entirely from the standup reporter. Instead of displaying Slack username links in the standup report, it now shows users' real names, as self-defined in Slack.The standup reporter is modified to use the
getStandupReport
helper.The user standup info collector thingy is modified to get the user's full info from Slack and store their real name in the database. It is also modified to use the
getStandupReport
helper to more accurately reflect what will be reported.Tests for all of the above.