gitlab-org--gitlab-foss/spec/services/merge_requests/post_merge_service_spec.rb

16 lines
361 B
Ruby
Raw Normal View History

require 'spec_helper'
describe MergeRequests::PostMergeService, services: true do
let(:user) { create(:user) }
let(:merge_request) { create(:merge_request, assignee: user) }
let(:project) { merge_request.project }
before do
project.team << [user, :master]
end
describe '#execute' do
it_behaves_like 'cache counters invalidator'
end
end