Sha256: d922161b32a81766c59e95471056180fdc6428e4737b7ec7020ba960af20b8d8

Contents?: true

Size: 189 Bytes

Versions: 6

Compression:

Stored size: 189 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :rating_rate, class: Rating::Rate do
    value 100

    author   { create :author }
    resource { create :article }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rating-0.8.0 spec/factories/rating/rate.rb
rating-0.7.0 spec/factories/rating/rate.rb
rating-0.6.0 spec/factories/rating/rate.rb
rating-0.5.0 spec/factories/rating/rate.rb
rating-0.4.0 spec/factories/rating/rate.rb
rating-0.3.0 spec/factories/rating/rate.rb