mirror of
https://github.com/discourse/discourse.git
synced 2025-03-08 09:27:54 +08:00
DEV: remove unnecessary line
This commit is contained in:
parent
35656a1d5f
commit
61f23b2d65
@ -20,7 +20,6 @@ RSpec.describe DraftsController do
|
|||||||
Draft.set(user, "xxx", 0, "{}")
|
Draft.set(user, "xxx", 0, "{}")
|
||||||
get "/drafts.json"
|
get "/drafts.json"
|
||||||
expect(response.status).to eq(200)
|
expect(response.status).to eq(200)
|
||||||
parsed = response.parsed_body
|
|
||||||
expect(response.parsed_body["drafts"].length).to eq(1)
|
expect(response.parsed_body["drafts"].length).to eq(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user