Sha256: 1a8f38a98c0ca7793e98db724bbf3083399389e6aa4a62e2283af746e0d20215

Contents?: true

Size: 429 Bytes

Versions: 2

Compression:

Stored size: 429 Bytes

Contents

require 'spec_helper'

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

  describe :migrations_path do
    it "returns correct migrations path" do
      expect(subject.migrations_path).to eq("db/data")
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
salsify-data_migrate-3.1.0 spec/data_migrate/data_migrator_spec.rb
salsify-data_migrate-3.0.1 spec/data_migrate/data_migrator_spec.rb