fixed tests

This commit is contained in:
albert
2013-02-20 16:24:59 -05:00
parent 2954118663
commit b03e889cdd
5 changed files with 15 additions and 7 deletions

View File

@@ -67,11 +67,11 @@ class Artist < ActiveRecord::Base
end
def other_names_array
other_names.split(/ /)
other_names.try(:split, / /)
end
def other_names_comma
other_names_array.join(", ")
other_names_array.try(:join, ", ")
end
def other_names_comma=(string)