More html escaping in factories
This commit is contained in:
parent
ad0a8eecf2
commit
c4e0a5312e
7 changed files with 8 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
FactoryGirl.define do
|
||||
factory :venue do
|
||||
name { "#{Faker::Company.name} Office" }
|
||||
name { CGI.escapeHTML("#{Faker::Company.name} Office") }
|
||||
street { Faker::Address.street_address }
|
||||
city { Faker::Address.city }
|
||||
postalcode { Faker::Address.postcode }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue