mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-28 04:48:49 +01:00
Merge branch '2.3_branch'
This brings the master branch up to date with the 2.3 release branch
This commit is contained in:
commit
f393afb69f
27 changed files with 111 additions and 84 deletions
|
|
@ -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 = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue