Files
gitlabhq/spec/models
Jonah Bishop 8b92946b54 Change percent_complete rescue value from 100 to 0
The percent_complete method returns a value of 100 when a
ZeroDivisionError occurs. That seems like a very strange default for an
error case, and results in a bug when a milestone has no corresponding
issues (new, empty milestones show 100% completion). This commit changes
the rescue value to 0, and subsequently fixes #1656, which reported this
problem.
2015-05-26 14:57:53 -04:00
..
2015-05-21 23:48:16 -04:00
2015-05-03 13:38:27 -07:00
2015-05-05 14:02:31 +03:00
2015-05-03 13:38:27 -07:00
2015-05-03 13:38:27 -07:00
2015-05-03 13:38:27 -07:00
2015-05-03 13:38:27 -07:00
2015-05-11 00:01:16 -04:00
2015-03-22 11:01:45 -07:00
2015-05-03 13:38:27 -07:00
2015-05-09 17:32:24 -04:00