mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FEATURE: add max_reply_history to limit number of replies
that can be expanded, when clicking "in-reply-to"
This commit is contained in:
@ -715,6 +715,7 @@ describe Post do
|
||||
|
||||
it "returns the posts in reply to this post" do
|
||||
p4.reply_history.should == [p1, p2]
|
||||
p4.reply_history(1).should == [p2]
|
||||
p3.reply_history.should be_blank
|
||||
p2.reply_history.should == [p1]
|
||||
end
|
||||
|
Reference in New Issue
Block a user