summaryrefslogtreecommitdiff
path: root/spec/features/projects/user_create_dir_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/user_create_dir_spec.rb')
-rw-r--r--spec/features/projects/user_create_dir_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/user_create_dir_spec.rb b/spec/features/projects/user_create_dir_spec.rb
index aeb7e0b7c33..f375e1215db 100644
--- a/spec/features/projects/user_create_dir_spec.rb
+++ b/spec/features/projects/user_create_dir_spec.rb
@@ -6,7 +6,7 @@ feature 'New directory creation', feature: true, js: true do
given(:project) { create(:project) }
background do
- login_as(user)
+ gitlab_sign_in(user)
project.team << [user, role]
visit namespace_project_tree_path(project.namespace, project, 'master')
open_new_directory_modal