ddccd24c13
Signed-off-by: Rémy Coutable <remy@rymai.me>
15 lines
345 B
Ruby
15 lines
345 B
Ruby
require 'spec_helper'
|
|
|
|
describe MergeRequests::PostMergeService 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
|