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