diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-06-29 22:22:40 +0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-06-29 22:22:40 +0300 |
commit | f4e6aba1bbeca043a29b4903cef2f5b99a1faac3 (patch) | |
tree | 44a69ea3eba402594c0a1567459f969834d4d82c /spec/lib/gitlab/import_export/repo_restorer_spec.rb | |
parent | 6205e45727db4d6720b7c3dc6ce010872b4f1628 (diff) |
Set the GL_REPOSITORY env variable on Gitlab::Git::Hook
Diffstat (limited to 'spec/lib/gitlab/import_export/repo_restorer_spec.rb')
-rw-r--r-- | spec/lib/gitlab/import_export/repo_restorer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/repo_restorer_spec.rb b/spec/lib/gitlab/import_export/repo_restorer_spec.rb index 168a59e5139..30b6a0d8845 100644 --- a/spec/lib/gitlab/import_export/repo_restorer_spec.rb +++ b/spec/lib/gitlab/import_export/repo_restorer_spec.rb @@ -34,7 +34,7 @@ describe Gitlab::ImportExport::RepoRestorer, services: true do it 'has the webhooks' do restorer.restore - expect(Gitlab::Git::Hook.new('post-receive', project.repository.path_to_repo)).to exist + expect(Gitlab::Git::Hook.new('post-receive', project)).to exist end end end |