More html escaping in factories

This commit is contained in:
Henne Vogelsang 2016-05-02 17:39:06 +02:00
parent ad0a8eecf2
commit c4e0a5312e
7 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@
FactoryGirl.define do
factory :conference do
title { Faker::Book.title }
title { CGI.escapeHTML(Faker::Book.title) }
short_title { SecureRandom.urlsafe_base64(4) }
timezone { Faker::Address.time_zone }
start_date { Date.today }