started to migrate themes new wrapper script

This commit is contained in:
2019-03-17 18:06:20 +01:00
parent 00c8045742
commit 011f772bc3
14 changed files with 132 additions and 27 deletions

View File

@@ -1,9 +1,13 @@
FactoryBot.define do
sequence (:title) {|n| "Wichtige Neuigkeit #{n}"}
sequence (:text) {|n| "Wichtiger text #{n}"}
sequence (:neuigkeit_text) {|n| "Wichtiger text #{n}"}
factory :neuigkeit do
title
text
title
# sequence (:text) {|n| "Wichtiger text #{n}"}
text {generate :neuigkeit_text}
# text {generate :neuigkeit_text }
datum {1.days.ago}
association :author, factory: :user