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
139a5230
Commit
139a5230
authored
Jun 15, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in CE->EE merge
parent
ba410802
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
app/uploaders/object_store_uploader.rb
app/uploaders/object_store_uploader.rb
+0
-5
spec/controllers/autocomplete_controller_spec.rb
spec/controllers/autocomplete_controller_spec.rb
+0
-13
No files found.
app/uploaders/object_store_uploader.rb
View file @
139a5230
...
@@ -120,13 +120,8 @@ class ObjectStoreUploader < CarrierWave::Uploader::Base
...
@@ -120,13 +120,8 @@ class ObjectStoreUploader < CarrierWave::Uploader::Base
raise
'Object Storage feature is missing'
unless
subject
.
project
.
feature_available?
(
:object_storage
)
raise
'Object Storage feature is missing'
unless
subject
.
project
.
feature_available?
(
:object_storage
)
end
end
<<<<<<<
HEAD
def
exists?
file
.
try
(
:exists?
)
=======
def
file_storage?
def
file_storage?
storage
.
is_a?
(
CarrierWave
::
Storage
::
File
)
storage
.
is_a?
(
CarrierWave
::
Storage
::
File
)
>>>>>>>
9
f999549099fb5b254a3892d3b88284c39a4e12d
end
end
private
private
...
...
spec/controllers/autocomplete_controller_spec.rb
View file @
139a5230
...
@@ -216,7 +216,6 @@ describe AutocompleteController do
...
@@ -216,7 +216,6 @@ describe AutocompleteController do
before
do
before
do
sign_in
(
user
)
sign_in
(
user
)
end
end
<<<<<<<
HEAD
it
'includes the author'
do
it
'includes the author'
do
get
(
:users
,
author_id:
non_member
.
id
)
get
(
:users
,
author_id:
non_member
.
id
)
...
@@ -227,18 +226,6 @@ describe AutocompleteController do
...
@@ -227,18 +226,6 @@ describe AutocompleteController do
it
'rejects non existent user ids'
do
it
'rejects non existent user ids'
do
get
(
:users
,
author_id:
99999
)
get
(
:users
,
author_id:
99999
)
=======
it
'includes the author'
do
get
(
:users
,
author_id:
non_member
.
id
)
expect
(
body
.
first
[
"username"
]).
to
eq
non_member
.
username
end
it
'rejects non existent user ids'
do
get
(
:users
,
author_id:
99999
)
>>>>>>>
9
f999549099fb5b254a3892d3b88284c39a4e12d
expect
(
body
.
collect
{
|
u
|
u
[
'id'
]
}).
not_to
include
(
99999
)
expect
(
body
.
collect
{
|
u
|
u
[
'id'
]
}).
not_to
include
(
99999
)
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