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-7.0.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-6.8.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-6.7.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-6.6.2 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-6.6.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-6.5.0 spec/data_migrate/data_schema_migration_spec.rb
data_migrate-6.4.0 spec/data_migrate/data_schema_migration_spec.rb