mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-22 08:46:11 +01:00
fixed tests for starred todos
This commit is contained in:
parent
2441aa92b5
commit
367476bd77
5 changed files with 8 additions and 8 deletions
|
|
@ -83,7 +83,7 @@ class TodosController < ApplicationController
|
|||
@todo.context_id = context.id
|
||||
end
|
||||
|
||||
@todo.starred= params[:new_todo_starred].include? "true"
|
||||
@todo.starred= (params[:new_todo_starred]||"").include? "true"
|
||||
|
||||
@todo.add_predecessor_list(predecessor_list)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue