Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Farkas <ifarkas@gitlab.com>2018-07-03 16:09:58 +0300
committerImre Farkas <ifarkas@gitlab.com>2018-07-04 18:35:23 +0300
commit9561db7b8c89586b5a163535a86ce2b5e0342343 (patch)
tree463cb0e466e718d9ac6ce8c3071c7b8a6ad6274f /spec/features/projects
parent7e9f46d0dc1ed34d7e7cb7b6ee31d08f53f2deaf (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.rb9
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