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:
Javi Martín
2019-09-28 16:20:50 +02:00
parent 9ad5d82e9d
commit eecc027fd3

View File

@@ -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)