Sha256: 16f88015bd8362726805cfed884afecb7ab6f706452b61ff1796726a1c3454ea
Contents?: true
Size: 252 Bytes
Versions: 2
Compression:
Stored size: 252 Bytes
Contents
# frozen_string_literal: true FactoryGirl.define do factory :activity, class: 'Timeful::Activity' do type 'PostActivity' association :actor, strategy: :build, factory: :user association :target, strategy: :build, factory: :post end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
timeful-2.1.0 | spec/factories/timeful/activities.rb |
timeful-2.0.0 | spec/factories/timeful/activities.rb |