Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 1a07c87

Browse files
Lhcflnbianca
andauthored
Update spec/fabricators/extend_topic_fabricator.rb
Co-authored-by: Bianca Nenciu <nbianca@users.noreply.github.com>
1 parent 2c0aff5 commit 1a07c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/fabricators/extend_topic_fabricator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
transient :custom_topic_name
44
transient :value
55
after_create do |top, transients|
6-
if (transients[:custom_topic_name] == DiscourseSolved::ACCEPTED_ANSWER_POST_ID_CUSTOM_FIELD)
6+
if transients[:custom_topic_name] == DiscourseSolved::ACCEPTED_ANSWER_POST_ID_CUSTOM_FIELD
77
post = Fabricate(:post)
88
Fabricate(:solution, topic_id: top.id, answer_post_id: post.id)
99
end

0 commit comments

Comments
 (0)