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
00ac7ae8
Commit
00ac7ae8
authored
Jun 20, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
043522a8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/features/groups/members/owner_manages_access_requests_spec.rb
...ures/groups/members/owner_manages_access_requests_spec.rb
+1
-1
spec/features/projects/members/master_manages_access_requests_spec.rb
...s/projects/members/master_manages_access_requests_spec.rb
+1
-1
No files found.
spec/features/groups/members/owner_manages_access_requests_spec.rb
View file @
00ac7ae8
...
...
@@ -42,7 +42,7 @@ feature 'Groups > Members > Owner manages access requests', feature: true do
def
expect_visible_access_request
(
group
,
user
)
expect
(
group
.
members
.
request
.
exists?
(
user_id:
user
)).
to
be_truthy
expect
(
page
).
to
have_content
"
#{
group
.
name
}
access requests
(1)
"
expect
(
page
).
to
have_content
"
#{
group
.
name
}
access requests
1
"
expect
(
page
).
to
have_content
user
.
name
end
end
spec/features/projects/members/master_manages_access_requests_spec.rb
View file @
00ac7ae8
...
...
@@ -41,7 +41,7 @@ feature 'Projects > Members > Master manages access requests', feature: true do
def
expect_visible_access_request
(
project
,
user
)
expect
(
project
.
members
.
request
.
exists?
(
user_id:
user
)).
to
be_truthy
expect
(
page
).
to
have_content
"
#{
project
.
name
}
access requests
(1)
"
expect
(
page
).
to
have_content
"
#{
project
.
name
}
access requests
1
"
expect
(
page
).
to
have_content
user
.
name
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