diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-07-04 19:13:23 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-07-04 19:13:23 +0300 |
commit | c0e50fdfc296777871f3cc2d417252f599f5fcfb (patch) | |
tree | 12a412d2b899ce832c0d6d5bf8e0d9b7ecb08cfe /spec/features/projects | |
parent | fa349c08ce16cdeb6f76e3a4c904f0ebd597cd6d (diff) | |
parent | 9561db7b8c89586b5a163535a86ce2b5e0342343 (diff) |
Merge branch '19468-add_readme_when_creating_project' into 'master'
Add option to add README when creating a project
Closes #19468
See merge request gitlab-org/gitlab-ce!20335
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 |