Fix the build.

This commit is contained in:
Guo Xiang Tan
2017-04-12 16:32:39 +08:00
parent 04567e00fa
commit f322f3a6cf
2 changed files with 8 additions and 5 deletions
+1
View File
@@ -85,6 +85,7 @@ describe PostCreator do
DiscourseEvent.expects(:trigger).with(:before_create_topic, anything, anything).once
DiscourseEvent.expects(:trigger).with(:after_trigger_post_process, anything).once
DiscourseEvent.expects(:trigger).with(:markdown_context, anything).at_least_once
DiscourseEvent.expects(:trigger).with(:topic_notification_level_changed, anything, anything, anything).at_least_once
creator.create
end