Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-07-05 19:01:38 +0300
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-07-05 21:10:14 +0300
commit1207d451ed934f3ce2d8c02130a8e6b2cac88a70 (patch)
tree35f501038ecc6cde3927666d4011d0fb03f9b771 /spec/features/projects/files
parentd1e0b1b3a8404f3a7b54db09c46fb614ca3fcb93 (diff)
Removes file_name_regex from Gitlab::Regex
Diffstat (limited to 'spec/features/projects/files')
-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 2a1cc01fe68..f67cb46eaaa 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'