Fix dev seed specs

This commit is contained in:
rgarcia
2018-03-23 19:57:51 +01:00
parent b35c750865
commit c9cad05a95
2 changed files with 2 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ section "Creating comment notifications" do
debate = Debate.create!(author: user,
title: Faker::Lorem.sentence(3).truncate(60),
description: "<p>#{Faker::Lorem.paragraphs.join('</p><p>')}</p>",
tag_list: Tag.all.sample(3).join(','),
tag_list: ActsAsTaggableOn::Tag.all.sample(3).join(','),
geozone: Geozone.reorder("RANDOM()").first,
terms_of_service: "1")