Remove isolated useless assignments

These variables are not surrounded by other assignments, and so they can
safely be removed without making it harder to read the code vertically.
This commit is contained in:
Javi Martín
2019-09-23 01:43:12 +02:00
parent 5cbd160f11
commit 7b0771106e
31 changed files with 118 additions and 114 deletions

View File

@@ -73,7 +73,7 @@ describe "Custom Pages" do
end
scenario "Listed in more information page" do
custom_page = create(:site_customization_page, :published,
create(:site_customization_page, :published,
slug: "another-slug",
title_en: "Another custom page",
subtitle_en: "Subtitle for custom page",