oops (tests were running in other window but was trigger happy)

This commit is contained in:
Sam 2016-01-19 18:22:59 +11:00
parent dec40ea3cf
commit 8d392066d8

View File

@ -23,7 +23,7 @@ class SystemMessage
title = I18n.t("system_messages.#{type}.subject_template", params)
raw = I18n.t("system_messages.#{type}.text_body_template", params)
creator = PostCreator.create(Discourse.site_contact_user,
creator = PostCreator.new(Discourse.site_contact_user,
title: title,
raw: raw,
archetype: Archetype.private_message,