This commit is contained in:
Henne Vogelsang 2017-04-18 17:37:56 +00:00 • committed by GitHub
commit 9b10a68ea7
6 changed files with 7 additions and 7 deletions

View file

@ -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 }