gitlab-org--gitlab-foss/spec/finders
Yorick Peterse 2110247f83 Refactoed GroupsFinder into two separate classes
In the previous setup the GroupsFinder class had two distinct tasks:

1. Finding the projects user A could see
2. Finding the projects of user A that user B could see

Task two was actually handled outside of the GroupsFinder (in the
UsersController) by restricting the returned list of groups to those the
viewed user was a member of. Moving all this logic into a single finder
proved to be far too complex and confusing, hence there are now two
finders:

* GroupsFinder: for finding groups a user can see
* JoinedGroupsFinder: for finding groups that user A is a member of,
  restricted to either public groups or groups user B can also see.
2015-11-18 13:05:45 +01:00
..
groups_finder_spec.rb Refactoed GroupsFinder into two separate classes 2015-11-18 13:05:45 +01:00
issues_finder_spec.rb Support filtering by "Any" milestone or issue and fix "No Milestone" and "No Label" filters 2015-10-07 07:21:50 -07:00
joined_groups_finder_spec.rb Refactoed GroupsFinder into two separate classes 2015-11-18 13:05:45 +01:00
merge_requests_finder_spec.rb Set milestone on new issue when creating issue from index with milestone filter active. 2015-05-27 14:22:11 +02:00
notes_finder_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
projects_finder_spec.rb Add Group#add_* convenience methods 2015-08-07 00:20:02 -04:00
snippets_finder_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
trending_projects_finder_spec.rb Revamp trending projects query 2015-10-06 17:26:32 +02:00