Remove useless notification in emails spec
The `create_proposal_notification` method won't create a new notification when a proposal has no supporters, so in the test `notification3` was actually the same as `notification2`, related to `proposal2`.
This commit is contained in:
@@ -269,7 +269,6 @@ describe "Emails" do
|
||||
|
||||
notification1 = create_proposal_notification(proposal1)
|
||||
notification2 = create_proposal_notification(proposal2)
|
||||
notification3 = create_proposal_notification(proposal3)
|
||||
|
||||
email_digest = EmailDigest.new(user)
|
||||
email_digest.deliver(Time.current)
|
||||
|
||||
Reference in New Issue
Block a user