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
73fdc9b6
Commit
73fdc9b6
authored
8 years ago
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests to check if label is set after picking a template
parent
61959480
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
spec/features/projects/files/gitignore_dropdown_spec.rb
spec/features/projects/files/gitignore_dropdown_spec.rb
+1
-0
spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
+1
-0
No files found.
spec/features/projects/files/gitignore_dropdown_spec.rb
View file @
73fdc9b6
...
@@ -24,6 +24,7 @@ feature 'User wants to add a .gitignore file', feature: true do
...
@@ -24,6 +24,7 @@ feature 'User wants to add a .gitignore file', feature: true do
end
end
wait_for_ajax
wait_for_ajax
expect
(
page
).
to
have_css
(
'.gitignore-selector .dropdown-toggle-text'
,
text:
'Rails'
)
expect
(
page
).
to
have_content
(
'/.bundle'
)
expect
(
page
).
to
have_content
(
'/.bundle'
)
expect
(
page
).
to
have_content
(
'# Gemfile.lock, .ruby-version, .ruby-gemset'
)
expect
(
page
).
to
have_content
(
'# Gemfile.lock, .ruby-version, .ruby-gemset'
)
end
end
...
...
This diff is collapsed.
Click to expand it.
spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb
View file @
73fdc9b6
...
@@ -24,6 +24,7 @@ feature 'User wants to add a .gitlab-ci.yml file', feature: true do
...
@@ -24,6 +24,7 @@ feature 'User wants to add a .gitlab-ci.yml file', feature: true do
end
end
wait_for_ajax
wait_for_ajax
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
(
'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
...
...
This diff is collapsed.
Click to expand it.
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