Add user (ID and type) to proxy exercise

This is required for the existing policies to work
This commit is contained in:
Sebastian Serth
2018-11-22 19:16:03 +01:00
parent e08e02f1c8
commit 59257d17f2
8 changed files with 39 additions and 4 deletions

View File

@ -1,5 +1,6 @@
FactoryBot.define do
factory :proxy_exercise, class: ProxyExercise do
created_by_teacher
token { 'dummytoken' }
title { 'Dummy' }
end