Fix dev seed specs
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20180320104823) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
enable_extension "unaccent"
|
||||
|
||||
Reference in New Issue
Block a user