Get all non-cucumber tests passing

This commit is contained in:
Reinier Balt 2012-04-12 12:47:25 +02:00
parent 1eea06052e
commit a2be938618
7 changed files with 30 additions and 22 deletions

View file

@ -394,10 +394,10 @@ class Todo < ActiveRecord::Base
end
def render_note
unless notes.nil?
rendered_notes = Tracks::Utils.render_text(notes)
unless self.notes.nil?
self.rendered_notes = Tracks::Utils.render_text(notes)
else
rendered_notes = nil
self.rendered_notes = nil
end
end