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

@ -30,7 +30,7 @@ describe EmbedController do
end
end
context "#info" do
describe "#info" do
context "without api key" do
it "fails" do
get '/embed/info.json'
@ -70,7 +70,7 @@ describe EmbedController do
end
end
context "#topics" do
describe "#topics" do
it "raises an error when not enabled" do
get '/embed/topics?embed_id=de-1234'
expect(response.status).to eq(400)