Hide FactoryBot deprecation warning by changing static assignment

Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
Sebastian Serth
2018-09-11 10:53:58 +02:00
parent ac31afbd2a
commit 1f12b39731
12 changed files with 217 additions and 217 deletions

View File

@@ -1,6 +1,6 @@
FactoryBot.define do
factory :submission do
cause 'save'
cause { 'save' }
created_by_external_user
association :exercise, factory: :math