More html escaping in factories
This commit is contained in:
parent
ad0a8eecf2
commit
c4e0a5312e
7 changed files with 8 additions and 8 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
FactoryGirl.define do
|
||||
factory :event do
|
||||
title { Faker::Hipster.sentence }
|
||||
abstract { Faker::Hipster.paragraph(2) }
|
||||
title { CGI.escapeHTML(Faker::Hipster.sentence) }
|
||||
abstract { CGI.escapeHTML(Faker::Hipster.paragraph(2)) }
|
||||
|
||||
program
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue