From 5612ada2d4ee78645a3e8e17f286d687431547ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 27 Mar 2021 17:53:56 +0100 Subject: [PATCH] Remove unused variables --- spec/system/proposal_notifications_spec.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/spec/system/proposal_notifications_spec.rb b/spec/system/proposal_notifications_spec.rb index ca956018b..7c8ff33b6 100644 --- a/spec/system/proposal_notifications_spec.rb +++ b/spec/system/proposal_notifications_spec.rb @@ -77,12 +77,13 @@ describe "Proposal Notifications" do scenario "Show notifications" do proposal = create(:proposal) - _notification1 = create(:proposal_notification, - proposal: proposal, title: "Hey guys", - body: "Just wanted to let you know that...") - _notification2 = create(:proposal_notification, - proposal: proposal, title: "Another update", - body: "We are almost there please share with your peoples!") + + create(:proposal_notification, + proposal: proposal, title: "Hey guys", + body: "Just wanted to let you know that...") + create(:proposal_notification, + proposal: proposal, title: "Another update", + body: "We are almost there please share with your peoples!") visit proposal_path(proposal)