spec/factories/rating/rate.rb in rating-0.8.0 vs spec/factories/rating/rate.rb in rating-0.9.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
FactoryBot.define do
factory :rating_rate, class: Rating::Rate do
- value 100
+ value { 100 }
author { create :author }
resource { create :article }
end
end