blob: 14a5e40350a7d1bb042ccb7c27f2636dbd2c0818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require 'spec_helper'
describe UserProjectAccessChangedService do
describe '#execute' do
it 'schedules the user IDs' do
expect(AuthorizedProjectsWorker).to receive(:bulk_perform_and_wait)
.with([[1], [2]])
described_class.new([1, 2]).execute
end
end
end
|