Make Rubocop happy

parent 7b921683
......@@ -135,8 +135,8 @@ class GeoNode < ActiveRecord::Base
if selective_sync?
relations = namespaces.map { |namespace| namespace.all_projects.select(:id) }
Project.unscoped.
from("(#{Gitlab::SQL::Union.new(relations).to_sql}) #{Project.table_name}")
Project.unscoped
.from("(#{Gitlab::SQL::Union.new(relations).to_sql}) #{Project.table_name}")
else
Project.all
end
......
......@@ -62,7 +62,6 @@ describe GeoNodeStatus, :geo, :truncate do
create(:geo_file_registry, :avatar, file_id: uploads[2], success: false)
expect(subject.attachments_synced_count).to eq(2)
end
it 'does not count synced files that were replaced' do
......
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