Hide FactoryBot deprecation warning by changing static assignment
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FactoryBot.define do
|
||||
factory :user_exercise_feedback, class: UserExerciseFeedback do
|
||||
created_by_external_user
|
||||
feedback_text 'Most suitable exercise ever'
|
||||
feedback_text { 'Most suitable exercise ever' }
|
||||
association :exercise, factory: :math
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user