mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-20 22:24:09 +01:00
fix tests
will fix cucumber tests after 2.0rc since it probably needs some magic to get them running using the jquery stuff
This commit is contained in:
parent
0335c2304d
commit
f018607049
3 changed files with 8 additions and 30 deletions
|
|
@ -276,7 +276,7 @@ class Todo < ActiveRecord::Base
|
|||
|
||||
@predecessor_array=[]
|
||||
|
||||
predecessor_ids_array = predecessor_list.split(", ")
|
||||
predecessor_ids_array = predecessor_list.split(",")
|
||||
predecessor_ids_array.each do |todo_id|
|
||||
predecessor = self.user.todos.find_by_id( todo_id.to_i ) unless todo_id.blank?
|
||||
@predecessor_array << predecessor unless predecessor.nil?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue