diff options
Diffstat (limited to 'spec/migrations/20210907013944_cleanup_bigint_conversion_for_ci_builds_metadata_spec.rb')
-rw-r--r-- | spec/migrations/20210907013944_cleanup_bigint_conversion_for_ci_builds_metadata_spec.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/spec/migrations/20210907013944_cleanup_bigint_conversion_for_ci_builds_metadata_spec.rb b/spec/migrations/20210907013944_cleanup_bigint_conversion_for_ci_builds_metadata_spec.rb deleted file mode 100644 index 63664803fba..00000000000 --- a/spec/migrations/20210907013944_cleanup_bigint_conversion_for_ci_builds_metadata_spec.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' -require_migration! - -RSpec.describe CleanupBigintConversionForCiBuildsMetadata, feature_category: :continuous_integration do - let(:ci_builds_metadata) { table(:ci_builds_metadata) } - - it 'correctly migrates up and down' do - reversible_migration do |migration| - migration.before -> { - expect(ci_builds_metadata.column_names).to include('id_convert_to_bigint') - expect(ci_builds_metadata.column_names).to include('build_id_convert_to_bigint') - } - - migration.after -> { - ci_builds_metadata.reset_column_information - expect(ci_builds_metadata.column_names).not_to include('id_convert_to_bigint') - expect(ci_builds_metadata.column_names).not_to include('build_id_convert_to_bigint') - } - end - end -end |