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:
Diffstat (limited to 'spec/migrations/remove_hipchat_service_records_spec.rb')
-rw-r--r--spec/migrations/remove_hipchat_service_records_spec.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/spec/migrations/remove_hipchat_service_records_spec.rb b/spec/migrations/remove_hipchat_service_records_spec.rb
deleted file mode 100644
index b89572b069e..00000000000
--- a/spec/migrations/remove_hipchat_service_records_spec.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemoveHipchatServiceRecords, feature_category: :integrations do
- let(:services) { table(:services) }
-
- before do
- services.create!(type: 'HipchatService')
- services.create!(type: 'SomeOtherType')
- end
-
- it 'removes services records of type HipchatService' do
- expect(services.count).to eq(2)
-
- migrate!
-
- expect(services.count).to eq(1)
- expect(services.first.type).to eq('SomeOtherType')
- expect(services.where(type: 'HipchatService')).to be_empty
- end
-end