Merge branch '2.3_branch'

This commit is contained in:
Matt Rogers 2015-12-08 20:14:33 -06:00
commit 3468d1ec13
3 changed files with 24 additions and 4 deletions

View file

@ -565,4 +565,15 @@ class TodoTest < ActiveSupport::TestCase
assert_equal 0, todo.user.attachments.reload.count
assert !File.exists?(new_path), "attachment should not be on file system"
end
def test_destroying_action_activates_successors
@not_completed1.add_predecessor(@not_completed2)
@not_completed1.block!
@not_completed2.destroy
@not_completed1.reload
assert @not_completed1.active?
end
end