More html escaping in factories
This commit is contained in:
parent
ad0a8eecf2
commit
c4e0a5312e
7 changed files with 8 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
FactoryGirl.define do
|
||||
factory :track do
|
||||
name { Faker::Commerce.department(2, true) }
|
||||
name { CGI.escapeHTML(Faker::Commerce.department(2, true)) }
|
||||
description { Faker::Lorem.sentence }
|
||||
color { Faker::Color.hex_color }
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue