Fixed that open scope on Project#issues raises an error (#11545).
Patch by Petr Pospisil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10199 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -132,6 +132,10 @@ class ProjectTest < ActiveSupport::TestCase
|
||||
end
|
||||
end
|
||||
|
||||
def test_open_scope_on_issues_association
|
||||
assert_kind_of Issue, Project.find(1).issues.open.first
|
||||
end
|
||||
|
||||
def test_archive
|
||||
user = @ecookbook.members.first.user
|
||||
@ecookbook.archive
|
||||
|
||||
Reference in New Issue
Block a user