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
Tatuya Kamada
gitlab-ce
Commits
15bc1a01
Commit
15bc1a01
authored
Jan 17, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added feature test
parent
56b0c46b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
spec/features/projects_spec.rb
spec/features/projects_spec.rb
+20
-1
No files found.
spec/features/projects_spec.rb
View file @
15bc1a01
...
@@ -82,7 +82,26 @@ feature 'Project', feature: true do
...
@@ -82,7 +82,26 @@ feature 'Project', feature: true do
it
'click project-settings and find leave project'
do
it
'click project-settings and find leave project'
do
find
(
'#project-settings-button'
).
click
find
(
'#project-settings-button'
).
click
expect
(
page
).
to
have_link
(
'Leave Project'
)
expect
(
page
).
to
have_link
(
'Leave Project'
)
end
end
describe
'project title'
do
include
WaitForAjax
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
namespace:
user
.
namespace
)
}
before
do
login_with
(
user
)
project
.
team
.
add_user
(
user
,
Gitlab
::
Access
::
MASTER
)
visit
namespace_project_path
(
project
.
namespace
,
project
)
end
it
'click toggle and show dropdown'
,
js:
true
do
find
(
'.js-projects-dropdown-toggle'
).
click
wait_for_ajax
expect
(
page
).
to
have_css
(
'.select2-results li'
,
count:
1
)
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