Skip to content

Commit 4b223a2

Browse files
committed
Explicit associations in factories
1 parent 214f1ac commit 4b223a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/factories/comment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
FactoryBot.define do
44
factory :comment do
55
file { create(:rfc).file }
6-
user factory: :learner
6+
factory :learner
77
row { 1 }
88
text { "comment on file #{file.id} on #{row}" }
99
end

0 commit comments

Comments
 (0)