capitalize URL in "Home page URL"

This commit is contained in:
Ben Bodenmiller 2015-07-26 02:21:10 -07:00
parent 5fad0b585e
commit 692e381e0c
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@
= f.text_area :restricted_signup_domains_raw, placeholder: 'domain.com', class: 'form-control'
.help-block Only users with e-mail addresses that match these domain(s) will be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com
.form-group
= f.label :home_page_url, class: 'control-label col-sm-2'
= f.label :home_page_url, 'Home page URL', class: 'control-label col-sm-2'
.col-sm-10
= f.text_field :home_page_url, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'home_help_block'
%span.help-block#home_help_block We will redirect non-logged in users to this page

View file

@ -6,7 +6,7 @@ class Spinach::Features::AdminSettings < Spinach::FeatureSteps
step 'I modify settings and save form' do
uncheck 'Gravatar enabled'
fill_in 'Home page url', with: 'https://about.gitlab.com/'
fill_in 'Home page URL', with: 'https://about.gitlab.com/'
click_button 'Save'
end