Files
fetsite/spec/factories/crawlobjects.rb

21 lines
377 B
Ruby

FactoryBot.define do
factory :crawlobject do
name {'MyString'}
text {'MyText'}
raw {'MyText'}
type {1}
schematype {"MyString"}
crawlurl {"MyString"}
url {""}
crawltime {"2015-03-30 21:10:29"}
published_at {"2015-03-30 21:10:29"}
referenced {""}
parent_id {1}
lft {1}
rgt {1}
depth {1}
children_count {1}
end
end