demarches-normaliennes/spec/factories/feedback.rb

6 lines
100 B
Ruby
Raw Normal View History

2018-08-08 17:37:41 +02:00
FactoryBot.define do
factory :feedback do
2018-09-04 16:46:48 +02:00
rating { Feedback.ratings.fetch(:happy) }
2018-08-08 17:37:41 +02:00
end
end