Leave the project name field editable, fix the test.

This commit is contained in:
Marin Jankovski 2014-10-28 09:19:58 +01:00
parent d08bb4b3a4
commit 50ee0b81b8
2 changed files with 2 additions and 6 deletions

View file

@ -13,11 +13,7 @@
= f.label :name, class: 'control-label' do = f.label :name, class: 'control-label' do
Project name Project name
.col-sm-10 .col-sm-10
= f.text_field :name, placeholder: "Example Project", class: "form-control", readonly: true = f.text_field :name, placeholder: "Example Project", class: "form-control", id: "project_name_edit"
%p.hint
Rename the project at
%strong Rename repository
section.
.form-group .form-group

View file

@ -4,7 +4,7 @@ class Spinach::Features::Project < Spinach::FeatureSteps
include SharedPaths include SharedPaths
step 'change project settings' do step 'change project settings' do
fill_in 'project_name', with: 'NewName' fill_in 'project_name_edit', with: 'NewName'
uncheck 'project_issues_enabled' uncheck 'project_issues_enabled'
end end