2728293031323334
public class MigrationResolverSpec { @Test public void shouldExtractVersionFromFileName() { MigrationResolver resolver = new MigrationResolver("blah"); the(resolver.extractVersion("20080718214030_tinman.sql")).shouldBeEqual("20080718214030"); }