Skip to content

Commit e628ea8

Browse files
committed
Set submission cause for RfC factory
1 parent 247ec2d commit e628ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/factories/request_for_comment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
factory :rfc, class: 'RequestForComment' do
55
user factory: :external_user
66
exercise factory: :math
7-
submission { association :submission, exercise:, user:, study_group: user&.study_groups&.first }
7+
submission { association :submission, exercise:, user:, study_group: user&.study_groups&.first, cause: 'requestComments' }
88
file { submission.files.first }
99
sequence :question do |n|
1010
"test question #{n}"

0 commit comments

Comments
 (0)