Sha256: 755fd68a1c1e2b0cd843348b9976522a68ee14bc86ec515ae7334370616fce9f
Contents?: true
Size: 398 Bytes
Versions: 31
Compression:
Stored size: 398 Bytes
Contents
FactoryGirl.define do sequence(:title) { |n| n } factory :page, :class => 'Kuhsaft::Page' do |p| p.position 1 p.title { "English Title #{FactoryGirl.generate(:title)}" } p.published 1 p.body 'lorem ipsum' p.url '' end factory :asset, :class => Kuhsaft::Asset do |a| a.file File.open("#{Kuhsaft::Engine.root}/spec/dummy/app/assets/images/spec-image.png") end end
Version data entries
31 entries across 31 versions & 1 rubygems