diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-07-26 15:27:42 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-07-27 13:52:45 -0300 |
commit | ea4d6c87d73301ade3e49f8f865eb448ecc8a569 (patch) | |
tree | 2148ac9290b91b7fa0594b101f6a05f7893eafc3 /spec/features/projects/project_settings_spec.rb | |
parent | 6dfaf4fe547104a553522a1904a321dd6d015a09 (diff) | |
download | gitlab-ce-ea4d6c87d73301ade3e49f8f865eb448ecc8a569.tar.gz |
Fix Project#to_param to keep invalid project suitable for use in URLs
Diffstat (limited to 'spec/features/projects/project_settings_spec.rb')
-rw-r--r-- | spec/features/projects/project_settings_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/project_settings_spec.rb b/spec/features/projects/project_settings_spec.rb index 5562680d6cc..3de25d7af7d 100644 --- a/spec/features/projects/project_settings_spec.rb +++ b/spec/features/projects/project_settings_spec.rb @@ -32,8 +32,8 @@ describe 'Edit Project Settings', feature: true do click_button 'Rename project' - expect(page).to have_field 'Project name', with: 'sample' - expect(page).to have_field 'Path', with: 'gitlab' + expect(page).to have_field 'Project name', with: 'foo&bar' + expect(page).to have_field 'Path', with: 'foo&bar' expect(page).to have_content "Name can contain only letters, digits, '_', '.', dash and space. It must start with letter, digit or '_'." expect(page).to have_content "Path can contain only letters, digits, '_', '-' and '.'. Cannot start with '-', end in '.git' or end in '.atom'" end |