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
e7a62b13
Commit
e7a62b13
authored
Nov 23, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in spec/requests/api/settings_spec.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
13f26577
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
spec/requests/api/settings_spec.rb
spec/requests/api/settings_spec.rb
+0
-13
No files found.
spec/requests/api/settings_spec.rb
View file @
e7a62b13
...
...
@@ -11,11 +11,7 @@ describe API::Settings, 'Settings' do
expect
(
response
).
to
have_gitlab_http_status
(
200
)
expect
(
json_response
).
to
be_an
Hash
expect
(
json_response
[
'default_projects_limit'
]).
to
eq
(
42
)
<<<<<<<
HEAD
expect
(
json_response
[
'signin_enabled'
]).
to
be_truthy
=======
expect
(
json_response
[
'password_authentication_enabled_for_web'
]).
to
be_truthy
>>>>>>>
ce
/
master
expect
(
json_response
[
'repository_storages'
]).
to
eq
([
'default'
])
expect
(
json_response
[
'password_authentication_enabled'
]).
to
be_truthy
expect
(
json_response
[
'koding_enabled'
]).
to
be_falsey
...
...
@@ -43,12 +39,8 @@ describe API::Settings, 'Settings' do
it
"updates application settings"
do
put
api
(
"/application/settings"
,
admin
),
default_projects_limit:
3
,
<<<<<<<
HEAD
=======
password_authentication_enabled_for_web:
false
,
>>>>>>>
ce
/
master
repository_storages:
[
'custom'
],
password_authentication_enabled:
false
,
koding_enabled:
true
,
koding_url:
'http://koding.example.com'
,
plantuml_enabled:
true
,
...
...
@@ -68,12 +60,7 @@ describe API::Settings, 'Settings' do
expect
(
response
).
to
have_gitlab_http_status
(
200
)
expect
(
json_response
[
'default_projects_limit'
]).
to
eq
(
3
)
<<<<<<<
HEAD
expect
(
json_response
[
'signin_enabled'
]).
to
be_falsey
expect
(
json_response
[
'password_authentication_enabled'
]).
to
be_falsey
=======
expect
(
json_response
[
'password_authentication_enabled_for_web'
]).
to
be_falsey
>>>>>>>
ce
/
master
expect
(
json_response
[
'repository_storages'
]).
to
eq
([
'custom'
])
expect
(
json_response
[
'koding_enabled'
]).
to
be_truthy
expect
(
json_response
[
'koding_url'
]).
to
eq
(
'http://koding.example.com'
)
...
...
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