diff options
Diffstat (limited to 'spec/migrations/20220523171107_drop_deploy_tokens_token_column_spec.rb')
-rw-r--r-- | spec/migrations/20220523171107_drop_deploy_tokens_token_column_spec.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/migrations/20220523171107_drop_deploy_tokens_token_column_spec.rb b/spec/migrations/20220523171107_drop_deploy_tokens_token_column_spec.rb deleted file mode 100644 index 9cbc6dea6a9..00000000000 --- a/spec/migrations/20220523171107_drop_deploy_tokens_token_column_spec.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' -require_migration! - -RSpec.describe DropDeployTokensTokenColumn, feature_category: :continuous_delivery do - let(:deploy_tokens) { table(:deploy_tokens) } - - it 'correctly migrates up and down' do - reversible_migration do |migration| - migration.before -> { - expect(deploy_tokens.column_names).to include('token') - } - - migration.after -> { - deploy_tokens.reset_column_information - - expect(deploy_tokens.column_names).not_to include('token') - } - end - end -end |