mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Can edit category descriptions, they show up in a title
attribute
This commit is contained in:
@ -192,7 +192,7 @@ describe PostsController do
|
||||
end
|
||||
|
||||
it "calls revise with valid parameters" do
|
||||
Post.any_instance.expects(:revise).with(post.user, 'edited body')
|
||||
PostRevisor.any_instance.expects(:revise!).with(post.user, 'edited body')
|
||||
xhr :put, :update, update_params
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user