public void MigrationInfoShouldExtractTransactionBehavior() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = DefaultMigrationConventions.GetMigrationInfoFor(migration); migrationinfo.TransactionBehavior.ShouldBe(TransactionBehavior.None); }
public void MigrationInfoShouldExtractTraits() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = DefaultMigrationConventions.GetMigrationInfoFor(migration); migrationinfo.Trait("key").ShouldBe("test"); }
public void MigrationInfoShouldRetainMigration() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = DefaultMigrationConventions.GetMigrationInfoFor(migration); migrationinfo.Migration.ShouldBeSameAs(migration); }
public void MigrationInfoShouldExtractVersion() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = DefaultMigrationConventions.GetMigrationInfoFor(migration); migrationinfo.Version.ShouldBe(123); }
public void MigrationInfoShouldRetainMigration() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = _default.GetMigrationInfoForMigration(migration); migrationinfo.Migration.GetType().ShouldBeSameAs(migration.GetType()); }
public void MigrationInfoShouldExtractTraits() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = DefaultMigrationConventions.GetMigrationInfoFor(migration); migrationinfo.Trait("key").ShouldBe("test"); }
public void MigrationInfoShouldRetainMigration() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = DefaultMigrationConventions.GetMigrationInfoFor(migration); migrationinfo.Migration.ShouldBeSameAs(migration); }
public void MigrationInfoShouldExtractVersion() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = DefaultMigrationConventions.GetMigrationInfoFor(migration); migrationinfo.Version.ShouldBe(123); }
public void MigrationInfoShouldExtractTransactionBehavior() { var migration = new DefaultConventionMigrationFake(); var migrationinfo = DefaultMigrationConventions.GetMigrationInfoFor(migration); migrationinfo.TransactionBehavior.ShouldBe(TransactionBehavior.None); }