stadtratmonitor/test/factories/papers.rb

15 lines
485 B
Ruby
Raw Normal View History

2015-09-27 13:51:13 +02:00
FactoryGirl.define do
factory :paper do
name { Faker::Lorem.sentence }
url { Faker::Internet.url("ris.example.org") }
2015-09-27 13:51:13 +02:00
reference "MyString"
body "leipzig"
published_at "2015-07-20 21:16:53"
scraped_at "2015-07-20 21:16:53"
paper_type "Verwaltungsstandpunkt"
originator { Faker::Name.name }
resolution { Faker::Lorem.paragraph(3) }
2015-09-27 13:51:13 +02:00
content "-------------------------------\n\n " # oh well...
end
end