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
iv
gitlab-ce
Commits
13fb3fdc
Commit
13fb3fdc
authored
Jan 21, 2013
by
Andrey Kumanyaev
Committed by
Dmitriy Zaporozhets
Jan 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair admin section tests
parent
17a8ee57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
features/admin/teams.feature
features/admin/teams.feature
+3
-1
features/steps/admin/admin_teams.rb
features/steps/admin/admin_teams.rb
+8
-0
No files found.
features/admin/teams.feature
View file @
13fb3fdc
...
...
@@ -17,7 +17,7 @@ Feature: Admin Teams
When
I visit admin teams page
When
I have clean
"HardCoders"
team
And
I visit
"HardCoders"
team page
#Then I should see only me in members table
When
I click to
"Add members"
link
When
I select user
"John"
from user list as
"Developer"
And
submit form with new team member info
Then
I should see
"John"
in teams members list as
"Developer"
...
...
@@ -30,6 +30,7 @@ Feature: Admin Teams
When
I have
"Shop"
project
And
I visit
"HardCoders"
team page
Then
I should see empty projects table
When
I click to
"Add projects"
link
When
I select project
"Shop"
with max access
"Reporter"
And
submit form with new team project info
Then
I should see
"Shop"
project in projects list
...
...
@@ -43,6 +44,7 @@ Feature: Admin Teams
When
I have gitlab user
"Jimm"
And
I visit
"HardCoders"
team page
Then
I should see members table without
"Jimm"
member
When
I click to
"Add members"
link
When
I select user
"Jimm"
ub team members list as
"Master"
And
submit form with new team member info
Then
I should see
"Jimm"
in teams members list as
"Master"
...
...
features/steps/admin/admin_teams.rb
View file @
13fb3fdc
...
...
@@ -205,6 +205,14 @@ class AdminTeams < Spinach::FeatureSteps
find_in_list
(
".team_members"
,
user
).
must_equal
true
end
When
'I click to "Add members" link'
do
click_link
"Add members"
end
When
'I click to "Add projects" link'
do
click_link
"Add projects"
end
protected
def
current_team
...
...
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