diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-07-03 09:12:03 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-07-03 09:12:03 +0000 |
commit | 15aadc665f266e8e974aded0fe1e0c7f1a9eb0fb (patch) | |
tree | 7cc2d811dfcb6f42fcfcf1fd6f126280a1e4606f /spec/services/files | |
parent | 7e84f353b9c7ef79829923bd5888af5acf0aa8b6 (diff) | |
download | gitlab-ce-15aadc665f266e8e974aded0fe1e0c7f1a9eb0fb.tar.gz |
Make OperationService RPC's mandatory
Diffstat (limited to 'spec/services/files')
-rw-r--r-- | spec/services/files/update_service_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/services/files/update_service_spec.rb b/spec/services/files/update_service_spec.rb index 16bfbdf3089..eaee89fb1a5 100644 --- a/spec/services/files/update_service_spec.rb +++ b/spec/services/files/update_service_spec.rb @@ -71,17 +71,5 @@ describe Files::UpdateService do expect(results.data).to eq(new_contents) end end - - context 'with gitaly disabled', :skip_gitaly_mock do - context 'when target branch is different than source branch' do - let(:branch_name) { "#{project.default_branch}-new" } - - it 'fires hooks only once' do - expect(Gitlab::Git::HooksService).to receive(:new).once.and_call_original - - subject.execute - end - end - end end end |