diff options
author | Imre Farkas <ifarkas@gitlab.com> | 2018-07-03 16:09:58 +0300 |
---|---|---|
committer | Imre Farkas <ifarkas@gitlab.com> | 2018-07-04 18:35:23 +0300 |
commit | 9561db7b8c89586b5a163535a86ce2b5e0342343 (patch) | |
tree | 463cb0e466e718d9ac6ce8c3071c7b8a6ad6274f /spec/features/projects | |
parent | 7e9f46d0dc1ed34d7e7cb7b6ee31d08f53f2deaf (diff) |
Add option to add README when creating a project
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/new_project_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/features/projects/new_project_spec.rb b/spec/features/projects/new_project_spec.rb index fee6287558e..3876e0cc3b1 100644 --- a/spec/features/projects/new_project_spec.rb +++ b/spec/features/projects/new_project_spec.rb @@ -48,6 +48,15 @@ feature 'New project' do end end + context 'Readme selector' do + it 'shows the initialize with Readme checkbox' do + visit new_project_path + + expect(page).to have_css('input#project_initialize_with_readme') + expect(page).to have_content('Initialize repository with a README') + end + end + context 'Namespace selector' do context 'with user namespace' do before do |