]> source.dussan.org Git - redmine.git/commit
use includes instead of joins at Issue#visible
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 24 Oct 2014 02:18:28 +0000 (02:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 24 Oct 2014 02:18:28 +0000 (02:18 +0000)
commit374f4dd52e1370db0e60e2bc035513c7cd5bb8fa
tree2ac71178d5d5fb2afb67baa13a788ee50cd305a4
parentb43a4f048e7397ff57086c1f2c08f040a4f83dd3
use includes instead of joins at Issue#visible

"rake test" passes all test, but following test fails on command line.

<pre>
$ ruby test/unit/issue_test.rb -n test_visible_scope_for_member_with_groups_should_return_assigned_issues

  1) Failure:
IssueTest#test_visible_scope_for_member_with_groups_should_return_assigned_issues [test/unit/issue_test.rb:321]:
Failed assertion, no message given.
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13500 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/issue.rb