mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-13 02:44:22 +01:00
Fixed failing tests
- Some fixtures added by Erik Ordway broke tests
- message:// links had an edge case I broke with 68701ada
- One test had a hard-coded id that changed
Closes #1019
This commit is contained in:
parent
68701adaca
commit
a022f449c1
7 changed files with 9 additions and 45 deletions
|
|
@ -288,7 +288,7 @@ class Todo < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def notes=(value)
|
||||
super(value.gsub(/</, '<').gsub(/>/, '>'))
|
||||
super(value.try(:gsub, /</, '<').try(:gsub, />/, '>'))
|
||||
end
|
||||
|
||||
def raw_notes=(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue