diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-07-05 23:21:58 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-07-05 23:21:58 +0300 |
commit | 793ce6fef635bc405f47b58e4b62bf1d48ca5078 (patch) | |
tree | 2150ae3278dfede986d967ef131dbfa4ba7cfc0b /spec/features/projects/files | |
parent | acb748a6732345b98c14dd1eb95ce3959abda754 (diff) | |
parent | 1207d451ed934f3ce2d8c02130a8e6b2cac88a70 (diff) |
Merge branch '32408-allow-creation-of-files-and-dirs-with-spaces-in-web-ui' into 'master'
Make filename and path creation compatible with UNIX in web UI
Closes #21362
See merge request !12608
Diffstat (limited to 'spec/features/projects/files')
-rw-r--r-- | spec/features/projects/files/creating_a_file_spec.rb | 5 |
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 c31056c3ff7..1196994ac3a 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' |