Sha256: e49c362073e7744d34e0f3d3f0e7a4dacddd8b88d2a93fb511f02a1208c36f4e

Contents?: true

Size: 371 Bytes

Versions: 16

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe DataMigrate::Migration do
  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

16 entries across 16 versions & 1 rubygems

Version Path
data_migrate-11.1.0 spec/data_migrate/migration.rb
data_migrate-9.1.3 spec/data_migrate/migration.rb
data_migrate-9.1.2 spec/data_migrate/migration.rb
data_migrate-11.0.0 spec/data_migrate/migration.rb
data_migrate-11.0.0.rc3 spec/data_migrate/migration.rb
data_migrate-11.0.0.rc spec/data_migrate/migration.rb
data_migrate-9.4.4 spec/data_migrate/migration.rb
data_migrate-9.4.2 spec/data_migrate/migration.rb
data_migrate-9.4.1 spec/data_migrate/migration.rb
data_migrate-9.4.0 spec/data_migrate/migration.rb
data_migrate-9.3.0 spec/data_migrate/migration.rb
data_migrate-9.2.0 spec/data_migrate/migration.rb
data_migrate-9.1.1 spec/data_migrate/migration.rb
data_migrate-9.1.0 spec/data_migrate/migration.rb
data_migrate-10.0.3.rc spec/data_migrate/migration.rb
data_migrate-10.0.0.rc1 spec/data_migrate/migration.rb