Merge branch '2.3_branch'

This brings the master branch up to date with the 2.3 release branch
This commit is contained in:
Matt Rogers 2015-08-07 20:27:14 -04:00
commit f393afb69f
27 changed files with 111 additions and 84 deletions

View file

@ -19,6 +19,12 @@ class ProjectFromTodoTest < ActiveSupport::TestCase
assert_equal "a, b", project.default_tags
end
def test_project_is_marked_as_reviewed
todo = todos(:upgrade_rails)
project = ProjectFromTodo.new(todo).create
refute project.needs_review?(users(:admin_user))
end
def test_invalid_project_from_invalid_todo
todo = todos(:upgrade_rails)
todo.description = ""