Commit 3c5d5be2 authored by Stuart Nelson's avatar Stuart Nelson Committed by Sean McGivern

Remove 'useless' variable assignment

parent a562db39
...@@ -6,8 +6,8 @@ describe IssueDueWorker do ...@@ -6,8 +6,8 @@ describe IssueDueWorker do
it 'finds issues due on the day run' do it 'finds issues due on the day run' do
issue1 = create(:issue, :opened, due_date: Date.today) issue1 = create(:issue, :opened, due_date: Date.today)
issue3 = create(:issue, :opened, due_date: 3.days.from_now) create(:issue, :opened, due_date: 3.days.from_now)
issue4 = create(:issue, :opened, due_date: 4.days.from_now) create(:issue, :opened, due_date: 4.days.from_now)
expect_any_instance_of(NotificationService).to receive(:issue_due_email).with(issue1) expect_any_instance_of(NotificationService).to receive(:issue_due_email).with(issue1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment