Escape HTML some factory strings
This commit is contained in:
parent
ad0a8eecf2
commit
45bd31fad0
12 changed files with 21 additions and 22 deletions
|
|
@ -8,7 +8,7 @@ FactoryGirl.define do
|
|||
start_date { Date.today }
|
||||
end_date { 6.days.from_now }
|
||||
registration_limit 0
|
||||
description { CGI.escapeHTML(Faker::Hipster.paragraph) }
|
||||
description { Faker::Hipster.paragraph }
|
||||
|
||||
after(:create) do |conference|
|
||||
Role.where(name: 'organizer', resource: conference).first_or_create(description: 'For the organizers of the conference (who shall have full access)')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue