2017-05-26 09:29:42 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2017-07-10 10:24:02 -04:00
|
|
|
describe MergeRequests::PostMergeService do
|
2017-05-26 09:29:42 -04:00
|
|
|
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
|