Sha256: ae228901ed3110c0a515976019d3111f9795374cb52a41fb7130fd3a740b950f

Contents?: true

Size: 187 Bytes

Versions: 2

Compression:

Stored size: 187 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rating-0.2.0 spec/factories/rating/rate.rb
rating-0.1.0 spec/factories/rating/rate.rb