make sure we have activity to find

This commit is contained in:
Tim Felgentreff 2010-11-05 17:53:52 +01:00
parent 759313b181
commit cbf8bf1f8d
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ class ActivityTest < ActiveSupport::TestCase
def setup
@project = Project.find(1)
[1,4,5,6].each do |issue_id|
i = Issue.find(issue_id)
i.init_journal(User.current, "A journal to find")
i.save!
end
end
def test_activity_without_subprojects