summaryrefslogtreecommitdiff
path: root/spec/features/projects
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-02 11:29:21 +0200
committerJames Lopez <james@jameslopez.es>2016-05-02 11:29:21 +0200
commit07ab6c2e26a36734ad29ae037810c14d2be7ec8b (patch)
tree3e3b552bce3a61718a8565a39be3c2111623506b /spec/features/projects
parent7ebf22e0024f457238090c3545b8acafae0e1a6f (diff)
downloadgitlab-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.rb5
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)