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.rb4
1 files changed, 2 insertions, 2 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..83aea070901 100644
--- a/spec/features/projects/files/edit_file_soft_wrap_spec.rb
+++ b/spec/features/projects/files/edit_file_soft_wrap_spec.rb
@@ -5,8 +5,8 @@ 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
- visit namespace_project_new_blob_path(project.namespace, project, 'master', file_name: 'test_file-name')
+ gitlab_sign_in user
+ visit project_new_blob_path(project, 'master', file_name: 'test_file-name')
editor = find('.file-editor.code')
editor.click
editor.send_keys 'Touch water with paw then recoil in horror chase dog then