summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorGeorge Thomas <iamgeorgethomas@gmail.com>2018-10-17 10:27:58 +0000
committerRémy Coutable <remy@rymai.me>2018-10-17 10:27:58 +0000
commit4a372af80b455806db2521029998aaeeba36fc1e (patch)
tree658e7a5bfa5da27bc0e59576de4922325c18e074 /spec/features
parent9642a472b67d46c230adf15ece8e79c850af99e4 (diff)
downloadgitlab-ce-4a372af80b455806db2521029998aaeeba36fc1e.tar.gz
Resolve "In web editor, when delete a file, should navigate to enclosing directory"
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/files/user_deletes_files_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/files/user_deletes_files_spec.rb b/spec/features/projects/files/user_deletes_files_spec.rb
index dcb7b947c61..614b11fa5c8 100644
--- a/spec/features/projects/files/user_deletes_files_spec.rb
+++ b/spec/features/projects/files/user_deletes_files_spec.rb
@@ -31,7 +31,7 @@ describe 'Projects > Files > User deletes files', :js do
fill_in(:commit_message, with: 'New commit message', visible: true)
click_button('Delete file')
- expect(current_path).to eq(project_tree_path(project, 'master'))
+ expect(current_path).to eq(project_tree_path(project, 'master/'))
expect(page).not_to have_content('.gitignore')
end
end