Sha256: 2788c5917ba01d3959cbfef82322a22fa72e3f3b94f5399f1136ebdb890523ba

Contents?: true

Size: 225 Bytes

Versions: 7

Compression:

Stored size: 225 Bytes

Contents

FactoryBot.define do
  factory :subscribe do |f|
    f.subscription_id{FactoryBot.create(:subscription).id}
    f.work_id{FactoryBot.create(:manifestation).id}
    f.start_at 1.year.ago
    f.end_at 1.year.from_now
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
enju_library-0.3.1 spec/factories/subscribe.rb
enju_library-0.3.0 spec/factories/subscribe.rb
enju_library-0.3.0.rc.1 spec/factories/subscribe.rb
enju_library-0.3.0.beta.2 spec/factories/subscribe.rb
enju_leaf-1.2.2 spec/factories/subscribe.rb
enju_library-0.2.5 spec/factories/subscribe.rb
enju_library-0.2.4 spec/factories/subscribe.rb