mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Fix various spec linting issues (#24672)
Duplicated specs, incorrect descriptions, incorrect assertions, incorrect filenames, old todo
This commit is contained in:
@ -1321,11 +1321,7 @@ RSpec.describe Admin::UsersController do
|
||||
end
|
||||
|
||||
it "does not block the urls by default" do
|
||||
delete "/admin/users/#{delete_me.id}.json",
|
||||
params: {
|
||||
delete_posts: true,
|
||||
block_urls: false,
|
||||
}
|
||||
delete "/admin/users/#{delete_me.id}.json", params: { delete_posts: true }
|
||||
expect(response.status).to eq(200)
|
||||
expect(ScreenedUrl.exists?(url: @urls)).to eq(false)
|
||||
end
|
||||
|
Reference in New Issue
Block a user