Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
bb380126
Commit
bb380126
authored
Jul 06, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
14a8c514
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
+3
-3
No files found.
spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
View file @
bb380126
...
@@ -19,12 +19,12 @@ feature 'User wants to add a .gitlab-ci.yml file', feature: true do
...
@@ -19,12 +19,12 @@ feature 'User wants to add a .gitlab-ci.yml file', feature: true do
find
(
'.js-gitlab-ci-yml-selector'
).
click
find
(
'.js-gitlab-ci-yml-selector'
).
click
wait_for_ajax
wait_for_ajax
within
'.gitlab-ci-yml-selector'
do
within
'.gitlab-ci-yml-selector'
do
find
(
'.dropdown-input-field'
).
set
(
'
j
ekyll'
)
find
(
'.dropdown-input-field'
).
set
(
'
J
ekyll'
)
find
(
'.dropdown-content li'
,
text:
'
j
ekyll'
).
click
find
(
'.dropdown-content li'
,
text:
'
J
ekyll'
).
click
end
end
wait_for_ajax
wait_for_ajax
expect
(
page
).
to
have_css
(
'.gitlab-ci-yml-selector .dropdown-toggle-text'
,
text:
'
j
ekyll'
)
expect
(
page
).
to
have_css
(
'.gitlab-ci-yml-selector .dropdown-toggle-text'
,
text:
'
J
ekyll'
)
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
(
'This file is a template, and might need editing before it works on your project'
)
expect
(
page
).
to
have_content
(
'jekyll build -d test'
)
expect
(
page
).
to
have_content
(
'jekyll build -d test'
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment