Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 18:09:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 18:09:15 +0300
commit536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (patch)
tree88d08f7dfa29a32d6526773c4fe0fefd9f2bc7d1 /spec/lib/gitlab/database
parent50ae4065530c4eafbeb7c5ff2c462c48c02947ca (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/database')
-rw-r--r--spec/lib/gitlab/database/subquery_spec.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/lib/gitlab/database/subquery_spec.rb b/spec/lib/gitlab/database/subquery_spec.rb
deleted file mode 100644
index 70380e02f16..00000000000
--- a/spec/lib/gitlab/database/subquery_spec.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe Gitlab::Database::Subquery do
- describe '.self_join' do
- set(:project) { create(:project) }
-
- it 'allows you to delete_all rows with WHERE and LIMIT' do
- events = create_list(:event, 8, project: project)
-
- expect do
- described_class.self_join(Event.where('id < ?', events[5]).recent.limit(2)).delete_all
- end.to change { Event.count }.by(-2)
- end
- end
-end