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
845f1465
Commit
845f1465
authored
Jan 20, 2013
by
Andrey Kumanyaev
Committed by
Dmitriy Zaporozhets
Jan 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix simples errors in tests
parent
6d1c566e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
features/steps/admin/admin_teams.rb
features/steps/admin/admin_teams.rb
+3
-3
No files found.
features/steps/admin/admin_teams.rb
View file @
845f1465
...
...
@@ -50,7 +50,7 @@ class AdminTeams < Spinach::FeatureSteps
When
'I select user "John" from user list as "Developer"'
do
@user
||=
User
.
find_by_name
(
"John"
)
within
"#team_members"
do
select
user
.
name
,
:from
=>
"user_ids"
select
@
user
.
name
,
:from
=>
"user_ids"
select
"Developer"
,
:from
=>
"default_project_access"
end
end
...
...
@@ -61,7 +61,7 @@ class AdminTeams < Spinach::FeatureSteps
Then
'I should see "John" in teams members list as "Developer"'
do
@user
||=
User
.
find_by_name
(
"John"
)
find_in_list
(
"#members_list .member"
,
user
).
must_equal
true
find_in_list
(
"#members_list .member"
,
@
user
).
must_equal
true
end
When
'I visit "John" user admin page'
do
...
...
@@ -185,7 +185,7 @@ class AdminTeams < Spinach::FeatureSteps
end
Then
'I should be redirected to "HardCoders" team admin page'
do
current_path
.
should
admin_team_pe
th
(
UserTeam
.
find_by_name
(
"HardCoders"
))
current_path
.
should
==
admin_team_pa
th
(
UserTeam
.
find_by_name
(
"HardCoders"
))
end
And
'I should not to see "Jimm" user in members list'
do
...
...
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