mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Use describe
for methods in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
f1c3670d74
commit
296aad430a
@ -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)
|
||||
|
Reference in New Issue
Block a user