summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-06 17:52:59 +0200
committerRémy Coutable <remy@rymai.me>2016-07-06 17:52:59 +0200
commitbb3801268b0ff51543c8a6c727eb7574a2460d45 (patch)
tree7ab9afeccd06f14df0b2499abeab5661aa52aaff
parent14a8c514efe745ffd95ebc261bec9135338ec8ad (diff)
downloadgitlab-ce-bb3801268b0ff51543c8a6c727eb7574a2460d45.tar.gz
Fix specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb b/spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
index b8c06c383fb..fca40f68b01 100644
--- a/spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
+++ b/spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
@@ -19,12 +19,12 @@ feature 'User wants to add a .gitlab-ci.yml file', feature: true do
find('.js-gitlab-ci-yml-selector').click
wait_for_ajax
within '.gitlab-ci-yml-selector' do
- find('.dropdown-input-field').set('jekyll')
- find('.dropdown-content li', text: 'jekyll').click
+ find('.dropdown-input-field').set('Jekyll')
+ find('.dropdown-content li', text: 'Jekyll').click
end
wait_for_ajax
- expect(page).to have_css('.gitlab-ci-yml-selector .dropdown-toggle-text', text: 'jekyll')
+ expect(page).to have_css('.gitlab-ci-yml-selector .dropdown-toggle-text', text: 'Jekyll')
expect(page).to have_content('This file is a template, and might need editing before it works on your project')
expect(page).to have_content('jekyll build -d test')
end