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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
e7676119
Commit
e7676119
authored
Oct 06, 2021
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cr remarks
parent
ed498cb4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/lib/gitlab/auth/group_saml/session_enforcer_spec.rb
ee/spec/lib/gitlab/auth/group_saml/session_enforcer_spec.rb
+2
-2
No files found.
ee/spec/lib/gitlab/auth/group_saml/session_enforcer_spec.rb
View file @
e7676119
...
...
@@ -44,7 +44,7 @@ RSpec.describe Gitlab::Auth::GroupSaml::SessionEnforcer do
allow
(
group
).
to
receive
(
:root_ancestor
).
and_return
(
root_group
)
end
let
(
:group
)
{
create
(
:group
,
parent:
root_group
)
}
let
(
:group
)
{
create
(
:group
)
}
subject
(
:enforced?
)
{
described_class
.
new
(
user
,
group
).
access_restricted?
}
...
...
@@ -189,7 +189,7 @@ RSpec.describe Gitlab::Auth::GroupSaml::SessionEnforcer do
allow
(
group
).
to
receive
(
:root_ancestor
).
and_return
(
root_group
)
end
let
(
:group
)
{
create
(
:group
,
parent:
root_group
)
}
let
(
:group
)
{
create
(
:group
)
}
subject
(
:enforced?
)
{
described_class
.
new
(
user
,
group
).
access_restricted?
}
...
...
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