spec/factories/voting/voting.rb in voting-0.4.0 vs spec/factories/voting/voting.rb in voting-0.5.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
FactoryBot.define do
factory :voting_voting, class: Voting::Voting do
- estimate 100
+ estimate { 100 }
association :resource, factory: :comment, strategy: :build
end
end