Hide FactoryBot deprecation warning by changing static assignment
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory :submission do
|
||||
cause 'save'
|
||||
cause { 'save' }
|
||||
created_by_external_user
|
||||
association :exercise, factory: :math
|
||||
|
||||
|
Reference in New Issue
Block a user