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
Jérome Perrin
gitlab-ce
Commits
93e204ea
Commit
93e204ea
authored
Mar 11, 2017
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update specs
parent
5c209d91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
spec/features/projects/new_project_spec.rb
spec/features/projects/new_project_spec.rb
+6
-1
No files found.
spec/features/projects/new_project_spec.rb
View file @
93e204ea
...
...
@@ -53,7 +53,6 @@ feature "New project", feature: true do
click_button
(
'Create project'
)
expect
(
page
).
to
have_css
'.project-edit-errors .alert.alert-danger'
expect
(
find
(
"[name='project[visibility_level]'][checked].option-title"
).
value
).
to
eq
(
'Internal'
)
end
it
"selects the group namespace"
do
...
...
@@ -61,6 +60,12 @@ feature "New project", feature: true do
expect
(
namespace
.
text
).
to
eq
group
.
name
end
it
'selects the visibility level'
do
level
=
Gitlab
::
VisibilityLevel
.
options
[
'Internal'
]
expect
(
find_field
(
"project_visibility_level_
#{
level
}
"
)).
to
be_checked
end
end
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