Merge pull request #1783 from C-Otto/bug-1778

do not activate already completed todos, fix #1778
This commit is contained in:
Reinier Balt 2015-04-12 17:27:59 +02:00
commit 17c5edd7ae
3 changed files with 20 additions and 2 deletions

View file

@ -266,7 +266,7 @@ class TodoTest < ActiveSupport::TestCase
assert !@not_completed1.starred?
end
def test_hidden_todo_remains_hidden_after_getting_unblokked
def test_hidden_todo_remains_hidden_after_getting_unblocked
todo = todos(:call_bill)
project=todo.project
project.hide!