diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-10-28 09:19:58 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-10-28 09:19:58 +0100 |
commit | 50ee0b81b8ade93a919a78ef1c04dc0afd6f3074 (patch) | |
tree | 6c10cda8d1146a2334c8ed57e82b863949646d3b | |
parent | d08bb4b3a467d730009a97c79573854af79147d6 (diff) | |
download | gitlab-ce-50ee0b81b8ade93a919a78ef1c04dc0afd6f3074.tar.gz |
Leave the project name field editable, fix the test.
-rw-r--r-- | app/views/projects/edit.html.haml | 6 | ||||
-rw-r--r-- | features/steps/project/project.rb | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 79be310c2cf..b85cf7d8d37 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -13,11 +13,7 @@ = f.label :name, class: 'control-label' do Project name .col-sm-10 - = f.text_field :name, placeholder: "Example Project", class: "form-control", readonly: true - %p.hint - Rename the project at - %strong Rename repository - section. + = f.text_field :name, placeholder: "Example Project", class: "form-control", id: "project_name_edit" .form-group diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb index f7fff8e64f9..5e7312d90ff 100644 --- a/features/steps/project/project.rb +++ b/features/steps/project/project.rb @@ -4,7 +4,7 @@ class Spinach::Features::Project < Spinach::FeatureSteps include SharedPaths step 'change project settings' do - fill_in 'project_name', with: 'NewName' + fill_in 'project_name_edit', with: 'NewName' uncheck 'project_issues_enabled' end |