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
7766995f
Commit
7766995f
authored
May 01, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve spec/helpers/auth_helper_spec.rb
parent
bf7a354f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
spec/helpers/auth_helper_spec.rb
spec/helpers/auth_helper_spec.rb
+0
-6
No files found.
spec/helpers/auth_helper_spec.rb
View file @
7766995f
...
@@ -33,14 +33,11 @@ describe AuthHelper do
...
@@ -33,14 +33,11 @@ describe AuthHelper do
allow
(
helper
).
to
receive
(
:auth_providers
)
{
[
:twitter
,
:ldapmain
]
}
allow
(
helper
).
to
receive
(
:auth_providers
)
{
[
:twitter
,
:ldapmain
]
}
expect
(
helper
.
providers_for_base_controller
).
not_to
include
(
:ldapmain
)
expect
(
helper
.
providers_for_base_controller
).
not_to
include
(
:ldapmain
)
end
end
<<<<<<<
HEAD
it
'excludes group_saml'
do
it
'excludes group_saml'
do
allow
(
helper
).
to
receive
(
:auth_providers
)
{
[
:group_saml
]
}
allow
(
helper
).
to
receive
(
:auth_providers
)
{
[
:group_saml
]
}
expect
(
helper
.
providers_for_base_controller
).
to
eq
([])
expect
(
helper
.
providers_for_base_controller
).
to
eq
([])
end
end
=======
>>>>>>>
upstream
/
master
end
end
describe
"form_based_providers"
do
describe
"form_based_providers"
do
...
@@ -53,14 +50,11 @@ describe AuthHelper do
...
@@ -53,14 +50,11 @@ describe AuthHelper do
allow
(
helper
).
to
receive
(
:auth_providers
)
{
[
:twitter
,
:crowd
]
}
allow
(
helper
).
to
receive
(
:auth_providers
)
{
[
:twitter
,
:crowd
]
}
expect
(
helper
.
form_based_providers
).
to
eq
%i(crowd)
expect
(
helper
.
form_based_providers
).
to
eq
%i(crowd)
end
end
<<<<<<<
HEAD
it
'includes kerberos provider'
do
it
'includes kerberos provider'
do
allow
(
helper
).
to
receive
(
:auth_providers
)
{
[
:twitter
,
:kerberos
]
}
allow
(
helper
).
to
receive
(
:auth_providers
)
{
[
:twitter
,
:kerberos
]
}
expect
(
helper
.
form_based_providers
).
to
eq
%i(kerberos)
expect
(
helper
.
form_based_providers
).
to
eq
%i(kerberos)
end
end
=======
>>>>>>>
upstream
/
master
end
end
describe
'enabled_button_based_providers'
do
describe
'enabled_button_based_providers'
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