Fix a typo causing Team#by_admin to fail with classic Groups
authorMarius Mathiesen <marius@gitorious.org>
Mon, 24 Sep 2012 11:31:05 +0000 (13:31 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Mon, 8 Oct 2012 07:41:36 +0000 (09:41 +0200)
commit7d1627a329c6113ea76c3246c5a7acada673f147
tree9b99a13f7f1ed60b82e442a3a12c8169a4c5392b
parente161cc653c76768db3a3c1fdc452d3c76480c6f1
Fix a typo causing Team#by_admin to fail with classic Groups

The parameters to Team.by_admin had been swapped, causing an empty
list to be returned. This would cause things like transferring
ownership to a group to be impossible.
app/models/finders/group_finder.rb
test/unit/team_test.rb