Fix dev seed specs
This commit is contained in:
@@ -3,7 +3,7 @@ section "Creating comment notifications" do
|
|||||||
debate = Debate.create!(author: user,
|
debate = Debate.create!(author: user,
|
||||||
title: Faker::Lorem.sentence(3).truncate(60),
|
title: Faker::Lorem.sentence(3).truncate(60),
|
||||||
description: "<p>#{Faker::Lorem.paragraphs.join('</p><p>')}</p>",
|
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,
|
geozone: Geozone.reorder("RANDOM()").first,
|
||||||
terms_of_service: "1")
|
terms_of_service: "1")
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20180320104823) do
|
ActiveRecord::Schema.define(version: 20180320104823) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
enable_extension "unaccent"
|
enable_extension "unaccent"
|
||||||
|
|||||||
Reference in New Issue
Block a user