diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-08-22 14:18:09 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-08-23 10:45:20 +0200 |
commit | dc7c6bede27abd4507072276ef23b40a74ee297a (patch) | |
tree | 3337af56f28df2cbd0f33a369b0a42fa3cec2c95 /spec/features/tags/master_deletes_tag_spec.rb | |
parent | 65f83941c39c14c2af9da5064393545ea2f7b3e5 (diff) | |
download | gitlab-ce-dc7c6bede27abd4507072276ef23b40a74ee297a.tar.gz |
Move GitHooksService to Gitlab::Git
Diffstat (limited to 'spec/features/tags/master_deletes_tag_spec.rb')
-rw-r--r-- | spec/features/tags/master_deletes_tag_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/tags/master_deletes_tag_spec.rb b/spec/features/tags/master_deletes_tag_spec.rb index 4d6fc13557f..d6a6b8fc7d5 100644 --- a/spec/features/tags/master_deletes_tag_spec.rb +++ b/spec/features/tags/master_deletes_tag_spec.rb @@ -36,8 +36,8 @@ feature 'Master deletes tag' do context 'when pre-receive hook fails', js: true do before do - allow_any_instance_of(GitHooksService).to receive(:execute) - .and_raise(GitHooksService::PreReceiveError, 'Do not delete tags') + allow_any_instance_of(Gitlab::Git::HooksService).to receive(:execute) + .and_raise(Gitlab::Git::HooksService::PreReceiveError, 'Do not delete tags') end scenario 'shows the error message' do |