summaryrefslogtreecommitdiff
path: root/spec/features/projects/files/edit_file_soft_wrap_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/files/edit_file_soft_wrap_spec.rb')
-rw-r--r--spec/features/projects/files/edit_file_soft_wrap_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/files/edit_file_soft_wrap_spec.rb b/spec/features/projects/files/edit_file_soft_wrap_spec.rb
index 012befa7990..6e361ac4312 100644
--- a/spec/features/projects/files/edit_file_soft_wrap_spec.rb
+++ b/spec/features/projects/files/edit_file_soft_wrap_spec.rb
@@ -5,7 +5,7 @@ feature 'User uses soft wrap whilst editing file', feature: true, js: true do
user = create(:user)
project = create(:project)
project.team << [user, :master]
- login_as user
+ gitlab_sign_in user
visit namespace_project_new_blob_path(project.namespace, project, 'master', file_name: 'test_file-name')
editor = find('.file-editor.code')
editor.click