Commit d736a721 authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Alex Kalderimis

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

parent 2cc2aaa8
...@@ -5,6 +5,7 @@ require 'spec_helper' ...@@ -5,6 +5,7 @@ require 'spec_helper'
RSpec.describe IssueRebalancingWorker do RSpec.describe IssueRebalancingWorker do
describe '#perform' do describe '#perform' do
let_it_be(:issue) { create(:issue) } let_it_be(:issue) { create(:issue) }
it 'runs an instance of IssueRebalancingService' do it 'runs an instance of IssueRebalancingService' do
service = double(execute: nil) service = double(execute: nil)
expect(IssueRebalancingService).to receive(:new).with(issue).and_return(service) expect(IssueRebalancingService).to receive(:new).with(issue).and_return(service)
......
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