Commit 06c78365 authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Alex Kalderimis

Apply 1 suggestion(s) to 1 file(s)

parent a16ab76f
...@@ -101,7 +101,7 @@ RSpec.describe Issues::CreateService do ...@@ -101,7 +101,7 @@ RSpec.describe Issues::CreateService do
end end
it 'does not rebalance unless needed' do it 'does not rebalance unless needed' do
expect(IssueRebalancingWorker).not_to receive(:perform_async).with(Integer) expect(IssueRebalancingWorker).not_to receive(:perform_async)
expect(issue.relative_position).to eq(project.issues.maximum(:relative_position)) expect(issue.relative_position).to eq(project.issues.maximum(:relative_position))
end end
......
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