summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-07-05 17:01:38 +0100
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-07-05 19:10:14 +0100
commit1207d451ed934f3ce2d8c02130a8e6b2cac88a70 (patch)
tree35f501038ecc6cde3927666d4011d0fb03f9b771 /features
parentd1e0b1b3a8404f3a7b54db09c46fb614ca3fcb93 (diff)
downloadgitlab-ce-1207d451ed934f3ce2d8c02130a8e6b2cac88a70.tar.gz
Removes file_name_regex from Gitlab::Regex32408-allow-creation-of-files-and-dirs-with-spaces-in-web-ui
Diffstat (limited to 'features')
-rw-r--r--features/project/source/browse_files.feature10
-rw-r--r--features/steps/project/source/browse_files.rb4
2 files changed, 0 insertions, 14 deletions
diff --git a/features/project/source/browse_files.feature b/features/project/source/browse_files.feature
index 472ec9544f3..59a625056d6 100644
--- a/features/project/source/browse_files.feature
+++ b/features/project/source/browse_files.feature
@@ -131,16 +131,6 @@ Feature: Project Source Browse Files
Then I can see the new text file
@javascript
- Scenario: If I enter an illegal file name I see an error message
- Given I click on "New file" link in repo
- And I fill the new file name with an illegal name
- And I edit code
- And I fill the commit message
- And I click on "Commit changes"
- Then I am on the new file page
- And I see "Path can contain only..."
-
- @javascript
Scenario: I can create file with a directory name
Given I click on "New file" link in repo
And I fill the new file name with a new directory
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index 45c47b1a575..17fe4a970be 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -92,10 +92,6 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
fill_in :branch_name, with: 'new_branch_name', visible: true
end
- step 'I fill the new file name with an illegal name' do
- fill_in :file_name, with: 'Filename/Slash'
- end
-
step 'I fill the new file name with a new directory' do
fill_in :file_name, with: new_file_name_with_directory
end