Escape HTML some factory strings
This commit is contained in:
parent
ad0a8eecf2
commit
45bd31fad0
12 changed files with 21 additions and 22 deletions
|
|
@ -3,7 +3,7 @@
|
|||
FactoryGirl.define do
|
||||
factory :lodging do
|
||||
name { "#{Faker::App.name} Hotel" }
|
||||
description { CGI.escapeHTML(Faker::Lorem.paragraph) }
|
||||
description { Faker::Lorem.paragraph }
|
||||
website_link { Faker::Internet.url }
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue