mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Migration to Ruby 2.5, Rails 5.1.5, Elasticsearch 5.4.3
This commit is contained in:
parent
85d2ad5d57
commit
ad77627973
17 changed files with 180 additions and 170 deletions
|
@ -1,6 +1,6 @@
|
|||
require_relative '../factory_helper'
|
||||
|
||||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
factory :paper do
|
||||
name { Faker::Lorem.sentence }
|
||||
sequence(:url) { |n| Faker::Internet.url("ris.example.org", "/paper-#{n}.html") }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue