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