Update a factory so that it uses rating instead of mark

This commit is contained in:
gregoirenovel 2018-08-27 15:04:20 +02:00
parent 18624ff872
commit d6748bde20

View file

@ -1,5 +1,5 @@
FactoryBot.define do
factory :feedback do
mark 3
rating Feedback.ratings.fetch(:happy)
end
end