public void MigrationsNamespace_Ends_With_Dot_Property() { //Arrange var configuration = new PropertyMigrationsConfiguration(); //Act var migrationsNamespace = configuration.MigrationsNamespace; //Assert Assert.IsTrue(migrationsNamespace.EndsWith(".Property")); }
public void Instance_Is_DatabaseMigrationsConfiguration_Of_PropertyDatabaseContext() { //Arrange var type = typeof(DatabaseMigrationsConfiguration <PropertyDatabaseContext>); //Act var configuration = new PropertyMigrationsConfiguration(); //Assert Assert.IsInstanceOf(type, configuration); }
public void MigrationsDirectory_Is_Migrations_Back_Slash_Property() { //Arrange var configuration = new PropertyMigrationsConfiguration(); //Act var migrationsDirectory = configuration.MigrationsDirectory; //Assert Assert.IsTrue(migrationsDirectory == "Migrations\\Property"); }