Sha256: 111b5dd79c77686875abc2abe2020320f1d763ad30340533b9a4afcf07c94892
Contents?: true
Size: 236 Bytes
Versions: 9
Compression:
Stored size: 236 Bytes
Contents
FactoryGirl.define do factory :body do association :post sequence(:text) { |n| "Body #{n}" } to_create { |model| model.write_attribute(:id, 1) model.stubs(persisted?: true, new_record?: false) } end end
Version data entries
9 entries across 9 versions & 1 rubygems