gitlab-org--gitlab-foss/spec
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
..
controllers Merge branch 'fix-avatar-removal' into 'master' 2015-05-12 14:46:58 +00:00
factories Simplify Note model specs 2015-05-11 00:01:16 -04:00
features Update ffaker gem 2015-05-20 19:22:00 -04:00
finders Group milestones by title in the dashboard and all other issue views 2015-05-01 01:12:58 +02:00
fixtures Remove class and id attributes from SanitizationFilter whitelist 2015-05-08 12:31:34 -04:00
helpers Add link_to_label helper 2015-05-21 23:40:25 -04:00
javascripts Remove unneeded jasmine setup 2015-05-06 15:29:46 -04:00
lib Merge branch 'rs-issue-1690' into 'master' 2015-05-26 14:35:54 +00:00
mailers Update ffaker gem 2015-05-20 19:22:00 -04:00
models Change percent_complete rescue value from 100 to 0 2015-05-26 14:57:53 -04:00
requests/api Update ffaker gem 2015-05-20 19:22:00 -04:00
routing Fix snippet test 2015-04-22 20:12:52 +03:00
services Add support for Webhook note events 2015-05-21 23:48:16 -04:00
support Change wording for task list summaries 2015-05-06 17:27:10 -04:00
tasks/gitlab Merge branch 'fix-backup-spec-regexp' into 'master' 2015-04-03 08:49:47 +00:00
workers CI forking: tests 2015-04-06 19:45:16 +03:00
factories.rb Update ffaker gem 2015-05-20 19:22:00 -04:00
factories_spec.rb Remove the invalid key factories 2015-04-11 17:12:10 -04:00
spec_helper.rb Move RSpec setup for Capybara to its own support file 2015-04-25 21:33:16 -04:00