Escape HTML some factory strings

This commit is contained in:
Henne Vogelsang 2016-05-02 17:39:06 +02:00
parent ad0a8eecf2
commit 45bd31fad0
12 changed files with 21 additions and 22 deletions

View file

@ -4,7 +4,7 @@ FactoryGirl.define do
factory :sponsor do
name { Faker::Company.name }
website_url { Faker::Internet.url }
description { CGI.escapeHTML(Faker::Lorem.paragraph) }
description { Faker::Lorem.paragraph }
sponsorship_level