Commit d808ea96 authored by Etienne Baqué's avatar Etienne Baqué Committed by Max Woolf

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

parent bb838dc6
......@@ -60,7 +60,7 @@ RSpec.describe MergeRequests::ExternalStatusCheck, type: :model do
context 'when data target branch matches a protected branch' do
let_it_be(:check) { create(:external_status_check, project: merge_request.project, protected_branches: [create(:protected_branch, name: 'test')]) }
it 'does not enqueue the status check' do
it 'enqueues the status check' do
expect(ApprovalRules::ExternalApprovalRulePayloadWorker).to receive(:perform_async).once
subject
......
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