Fix Factories

This commit is contained in:
Sebastian Serth
2018-02-20 15:30:50 +01:00
parent 64ab7a9c84
commit 3916f66695
2 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@ FactoryBot.define do
factory :user_exercise_feedback, class: UserExerciseFeedback do
created_by_external_user
feedback_text 'Most suitable exercise ever'
association :exercise, factory: :math
end
end

View File

@ -1,6 +1,5 @@
FactoryBot.define do
factory :error_template_attribute do
error_template nil
key "MyString"
regex "MyString"
end