gitlab-org--gitlab-foss/spec/controllers/dashboard
Sean McGivern acf49c6d89 Fix access to the final page of todos
The todos page limit is 20, and both that and a user's pending todo count are
integers. Using integer division means that the result's floor will be taken,
defeating the point of the later call to `#ceil`.

So we need to convert one side of the division to a float first, otherwise the
last page won't be treated as available.
2017-11-09 13:13:48 +00:00
..
groups_controller_spec.rb Reuse the groups tree for explore and dashboard. 2017-10-04 22:49:41 +02:00
labels_controller_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
milestones_controller_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
todos_controller_spec.rb Fix access to the final page of todos 2017-11-09 13:13:48 +00:00