Fixed ActiveRecord::UnknownAttributeError while running spec