summaryrefslogtreecommitdiff
path: root/spec/services/files
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-08-22 14:18:09 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-08-23 10:45:20 +0200
commitdc7c6bede27abd4507072276ef23b40a74ee297a (patch)
tree3337af56f28df2cbd0f33a369b0a42fa3cec2c95 /spec/services/files
parent65f83941c39c14c2af9da5064393545ea2f7b3e5 (diff)
downloadgitlab-ce-dc7c6bede27abd4507072276ef23b40a74ee297a.tar.gz
Move GitHooksService to Gitlab::Git
Diffstat (limited to 'spec/services/files')
-rw-r--r--spec/services/files/update_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/files/update_service_spec.rb b/spec/services/files/update_service_spec.rb
index cc950ae6bb3..2b4f8cd42ee 100644
--- a/spec/services/files/update_service_spec.rb
+++ b/spec/services/files/update_service_spec.rb
@@ -76,7 +76,7 @@ describe Files::UpdateService do
let(:branch_name) { "#{project.default_branch}-new" }
it 'fires hooks only once' do
- expect(GitHooksService).to receive(:new).once.and_call_original
+ expect(Gitlab::Git::HooksService).to receive(:new).once.and_call_original
subject.execute
end