More html escaping in factories
This commit is contained in:
parent
ad0a8eecf2
commit
c4e0a5312e
7 changed files with 8 additions and 8 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
FactoryGirl.define do
|
||||
factory :sponsor do
|
||||
name { Faker::Company.name }
|
||||
name { CGI.escapeHTML(Faker::Company.name) }
|
||||
website_url { Faker::Internet.url }
|
||||
description { CGI.escapeHTML(Faker::Lorem.paragraph) }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue