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

@@ -11,10 +11,10 @@ FactoryBot.define do
association :exercise, factory: :math
association :external_user
lti_parameters LTI_PARAMETERS
lti_parameters { LTI_PARAMETERS }
trait :without_outcome_service_url do
lti_parameters LTI_PARAMETERS.except(:lis_outcome_service_url)
lti_parameters { LTI_PARAMETERS.except(:lis_outcome_service_url) }
end
end
end