DEV: Fix various spec linting issues (#24672)

Duplicated specs, incorrect descriptions, incorrect assertions, incorrect filenames, old todo
This commit is contained in:
Jarek Radosz
2023-12-04 13:45:19 +01:00
committed by GitHub
parent c2887d3f8c
commit 7196613e2e
29 changed files with 33 additions and 151 deletions

View File

@ -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