diff options
| author | James Lopez <james@jameslopez.es> | 2016-05-02 11:29:21 +0200 |
|---|---|---|
| committer | James Lopez <james@jameslopez.es> | 2016-05-02 11:29:21 +0200 |
| commit | 07ab6c2e26a36734ad29ae037810c14d2be7ec8b (patch) | |
| tree | 3e3b552bce3a61718a8565a39be3c2111623506b /spec/features/projects | |
| parent | 7ebf22e0024f457238090c3545b8acafae0e1a6f (diff) | |
| download | gitlab-ce-07ab6c2e26a36734ad29ae037810c14d2be7ec8b.tar.gz | |
refactoring and fixing a bunch of stuff
Diffstat (limited to 'spec/features/projects')
| -rw-r--r-- | spec/features/projects/import_export/import_file_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/features/projects/import_export/import_file_spec.rb b/spec/features/projects/import_export/import_file_spec.rb index 32e131d7040..0bc2b85edb1 100644 --- a/spec/features/projects/import_export/import_file_spec.rb +++ b/spec/features/projects/import_export/import_file_spec.rb @@ -8,6 +8,8 @@ feature 'project import', feature: true, js: true do let(:file) { File.join(Rails.root, 'spec', 'features', 'projects', 'import_export', 'test_project_export.tar.gz') } background do + export_path = "#{Dir::tmpdir}/import_file_spec" + allow_any_instance_of(Gitlab::ImportExport).to receive(:storage_path).and_return(export_path) login_as(user) end @@ -27,9 +29,6 @@ feature 'project import', feature: true, js: true do sleep 1 click_on 'Continue to the next step' - - sleep 1 - end def drop_in_dropzone(file_path) |
