mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 01:08:50 +01:00
hack to remove minitest deprecation warnings
This commit is contained in:
parent
fa7f2a777b
commit
429a22778c
1 changed files with 5 additions and 1 deletions
|
|
@ -9,7 +9,11 @@ class ProjectFromTodoTest < ActiveSupport::TestCase
|
|||
project = ProjectFromTodo.new(todo).create
|
||||
assert_equal project.name, todo.description
|
||||
assert_equal project.description, todo.notes
|
||||
assert_equal project.default_context, todo.context
|
||||
if project.default.context.nil?
|
||||
assert_nil todo.context
|
||||
else
|
||||
assert_equal project.default_context, todo.context
|
||||
end
|
||||
end
|
||||
|
||||
def test_retain_tags_from_todo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue