From 61f23b2d6572acc44a851055c14e9d8e89428400 Mon Sep 17 00:00:00 2001 From: zogstrip Date: Mon, 9 Dec 2024 18:48:25 +0100 Subject: [PATCH] DEV: remove unnecessary line --- spec/requests/drafts_controller_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/requests/drafts_controller_spec.rb b/spec/requests/drafts_controller_spec.rb index 0ee2d6a1cae..f7b15e32482 100644 --- a/spec/requests/drafts_controller_spec.rb +++ b/spec/requests/drafts_controller_spec.rb @@ -20,7 +20,6 @@ RSpec.describe DraftsController do Draft.set(user, "xxx", 0, "{}") get "/drafts.json" expect(response.status).to eq(200) - parsed = response.parsed_body expect(response.parsed_body["drafts"].length).to eq(1) end