debian-mirror-gitlab/spec/services/merge_requests/post_merge_service_spec.rb

16 lines
345 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
require 'spec_helper'
2017-09-10 17:25:29 +05:30
describe MergeRequests::PostMergeService do
2017-08-17 22:00:37 +05:30
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