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
Boxiang Sun
gitlab-ce
Commits
f66b77e6
Commit
f66b77e6
authored
Mar 13, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing specs.
parent
5ad35bbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
features/steps/project/team_management.rb
features/steps/project/team_management.rb
+3
-1
No files found.
features/steps/project/team_management.rb
View file @
f66b77e6
...
@@ -16,7 +16,7 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps
...
@@ -16,7 +16,7 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps
end
end
step
'I click link "Add members"'
do
step
'I click link "Add members"'
do
find
(
:css
,
'
a.btn-add
'
).
click
find
(
:css
,
'
button.btn-new
'
).
click
end
end
step
'I select "Mike" as "Reporter"'
do
step
'I select "Mike" as "Reporter"'
do
...
@@ -46,7 +46,9 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps
...
@@ -46,7 +46,9 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps
user
=
User
.
find_by
(
name:
'Sam'
)
user
=
User
.
find_by
(
name:
'Sam'
)
project_member
=
project
.
project_members
.
find_by
(
user_id:
user
.
id
)
project_member
=
project
.
project_members
.
find_by
(
user_id:
user
.
id
)
within
"#project_member_
#{
project_member
.
id
}
"
do
within
"#project_member_
#{
project_member
.
id
}
"
do
click_button
"Edit access level"
select
"Reporter"
,
from:
"project_member_access_level"
select
"Reporter"
,
from:
"project_member_access_level"
click_button
"Save"
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