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.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/features/projects/files/creating_a_file_spec.rb b/spec/features/projects/files/creating_a_file_spec.rb
index 1367077c4cf..55350db4c34 100644
--- a/spec/features/projects/files/creating_a_file_spec.rb
+++ b/spec/features/projects/files/creating_a_file_spec.rb
@@ -30,11 +30,6 @@ feature 'User wants to create a file', feature: true do
expect(page).to have_content 'The file has been successfully created'
end
- scenario 'file name contains invalid characters' do
- submit_new_file(file_name: '\\')
- expect(page).to have_content 'Path can contain only'
- end
-
scenario 'file name contains directory traversal' do
submit_new_file(file_name: '../README.md')
expect(page).to have_content 'Path cannot include directory traversal'