mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
added an option to bypass auto tracking of topics on post creation
This commit is contained in:
parent
9e4b0df7ff
commit
31bb08bcdd
9 changed files with 31 additions and 5 deletions
|
@ -20,6 +20,7 @@ describe TopicTrackingState do
|
|||
report.length.should == 0
|
||||
|
||||
new_post = post
|
||||
post.topic.notifier.watch_topic!(post.topic.user_id)
|
||||
|
||||
report = TopicTrackingState.report([user.id])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue