diff options
Diffstat (limited to 'spec/migrations/remove_deprecated_jenkins_service_records_spec.rb')
-rw-r--r-- | spec/migrations/remove_deprecated_jenkins_service_records_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/migrations/remove_deprecated_jenkins_service_records_spec.rb b/spec/migrations/remove_deprecated_jenkins_service_records_spec.rb index 00fde88c528..817cf183e0c 100644 --- a/spec/migrations/remove_deprecated_jenkins_service_records_spec.rb +++ b/spec/migrations/remove_deprecated_jenkins_service_records_spec.rb @@ -1,8 +1,9 @@ # frozen_string_literal: true require 'spec_helper' -require Rails.root.join('db', 'migrate', '20200511130129_remove_deprecated_jenkins_service_records.rb') -require Rails.root.join('db', 'post_migrate', '20200511130130_ensure_deprecated_jenkins_service_records_removal.rb') +require_migration! + +require_migration!('ensure_deprecated_jenkins_service_records_removal') RSpec.shared_examples 'remove DeprecatedJenkinsService records' do let(:services) { table(:services) } |