Sha256: 0f513e54cad1cf61b79ee246c4ad51480bcc0d2dfb35f5901608c4d543ca41fd

Contents?: true

Size: 399 Bytes

Versions: 27

Compression:

Stored size: 399 Bytes

Contents

require 'spec_helper'

describe DataMigrate::DataSchemaMigration do
  let(:subject) { DataMigrate::DataSchemaMigration }
  describe :table_name do
    it "returns correct table name" do
      expect(subject.table_name).to eq("data_migrations")
    end
  end

  describe :index_name do
    it "returns correct primary key name" do
      expect(subject.primary_key).to eq("version")
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
data_migrate-9.1.3 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-9.1.2 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-9.1.1 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-9.1.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-10.0.3.rc spec/data_migrate/data_schema_migration_spec.rb
data_migrate-10.0.0.rc1 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-9.0.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.5.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.4.2 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.4.1 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.4.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.3.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.2.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.1.1 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.1.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.0.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.0.0.rc2 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-8.0.0.rc1 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-7.0.2 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-7.0.1 spec/data_migrate/data_schema_migration_spec.rb