DEV: Use describe for methods in specs

This commit is contained in:
Loïc Guitaut
2022-07-27 12:21:10 +02:00
committed by Loïc Guitaut
parent f1c3670d74
commit 296aad430a
69 changed files with 214 additions and 214 deletions

View File

@ -1491,7 +1491,7 @@ describe Post do
expect(UploadReference.count).to eq(0)
end
context "#link_post_uploads" do
describe "#link_post_uploads" do
it "finds all the uploads in the post" do
post.link_post_uploads
@ -1547,7 +1547,7 @@ describe Post do
end
end
context '#update_uploads_secure_status' do
describe '#update_uploads_secure_status' do
fab!(:user) { Fabricate(:user, trust_level: 0) }
let(:raw) do