diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2018-09-03 23:20:57 +0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2018-09-12 18:32:32 +0300 |
commit | d3c5b07962127be3b29e4602eef51abcb4c2c7b8 (patch) | |
tree | 529788aa536ca73777a939483717eba73a9be2ea /spec/features | |
parent | a2be6536e9cd92f1fb3d842020136ca165fe9748 (diff) |
Remove Rugged and shell code from Gitlab::Git
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/import_export/import_file_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/features/projects/import_export/import_file_spec.rb b/spec/features/projects/import_export/import_file_spec.rb index 6cd5810325f..65c68277167 100644 --- a/spec/features/projects/import_export/import_file_spec.rb +++ b/spec/features/projects/import_export/import_file_spec.rb @@ -2,6 +2,7 @@ require 'spec_helper' describe 'Import/Export - project import integration test', :js do include Select2Helper + include GitHelpers let(:user) { create(:user) } let(:file) { File.join(Rails.root, 'spec', 'features', 'projects', 'import_export', 'test_project_export.tar.gz') } @@ -94,12 +95,6 @@ describe 'Import/Export - project import integration test', :js do wiki.repository.exists? && !wiki.repository.empty? end - def project_hook_exists?(project) - Gitlab::GitalyClient::StorageSettings.allow_disk_access do - Gitlab::Git::Hook.new('post-receive', project.repository.raw_repository).exists? - end - end - def click_import_project_tab find('#import-project-tab').click end |