summaryrefslogtreecommitdiff
path: root/spec/features/projects/files/creating_a_file_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/files/creating_a_file_spec.rb')
-rw-r--r--spec/features/projects/files/creating_a_file_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/files/creating_a_file_spec.rb b/spec/features/projects/files/creating_a_file_spec.rb
index 69744ac3948..2a1cc01fe68 100644
--- a/spec/features/projects/files/creating_a_file_spec.rb
+++ b/spec/features/projects/files/creating_a_file_spec.rb
@@ -6,7 +6,7 @@ feature 'User wants to create a file', feature: true do
background do
project.team << [user, :master]
- login_as user
+ gitlab_sign_in user
visit namespace_project_new_blob_path(project.namespace, project, project.default_branch)
end