spec/factories/rating/rate.rb in rating-0.2.0 vs spec/factories/rating/rate.rb in rating-0.3.0
- old
+ new
@@ -2,9 +2,9 @@
FactoryBot.define do
factory :rating_rate, class: Rating::Rate do
value 100
- author { create :user }
+ author { create :author }
resource { create :article }
end
end