stadtratmonitor/spec/factories/papers.rb
2016-02-19 08:39:30 +01:00

16 lines
528 B
Ruby
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

require_relative '../factory_helper'
FactoryGirl.define do
factory :paper do
name { Faker::Lorem.sentence }
url { Faker::Internet.url("ris.example.org") }
reference "MyString"
body "leipzig"
published_at "2015-07-20 21:16:53"
scraped_at "2015-07-20 21:16:53"
paper_type { FactoryHelper.paper_type }
originator { Faker::Name.name }
resolution { Faker::Lorem.paragraph(3) }
content "-------------------------------\n\n " # oh well...
end
end