mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 06:48:18 +08:00
DEV: Assert for 200 response code to avoid changing magic helper in the future.
This commit is contained in:
@ -53,7 +53,7 @@ describe PostActionUsersController do
|
||||
id: post.id, post_action_type_id: PostActionType.types[:like]
|
||||
}
|
||||
|
||||
expect(response).to be_successful
|
||||
expect(response.status).to eq(200)
|
||||
end
|
||||
|
||||
it "paginates post actions" do
|
||||
|
Reference in New Issue
Block a user