Commit 139a5230 authored by Valery Sizov's avatar Valery Sizov

Resolve conflicts in CE->EE merge

parent ba410802
......@@ -120,13 +120,8 @@ class ObjectStoreUploader < CarrierWave::Uploader::Base
raise 'Object Storage feature is missing' unless subject.project.feature_available?(:object_storage)
end
<<<<<<< HEAD
def exists?
file.try(:exists?)
=======
def file_storage?
storage.is_a?(CarrierWave::Storage::File)
>>>>>>> 9f999549099fb5b254a3892d3b88284c39a4e12d
end
private
......
......@@ -216,7 +216,6 @@ describe AutocompleteController do
before do
sign_in(user)
end
<<<<<<< HEAD
it 'includes the author' do
get(:users, author_id: non_member.id)
......@@ -227,18 +226,6 @@ describe AutocompleteController do
it 'rejects non existent user ids' do
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)
>>>>>>> 9f999549099fb5b254a3892d3b88284c39a4e12d
expect(body.collect { |u| u['id'] }).not_to include(99999)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment