diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index f24e7d44..91fab820 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -118,6 +118,7 @@ class ProjectTest < Test::Unit::TestCase def test_rolled_up_trackers parent = Project.find(1) + parent.trackers = Tracker.find([1,2]) child = parent.children.find(3) assert_equal [1, 2], parent.tracker_ids