This commit fixes tryFindDetektConfigurationFile by using String path instead of configFile.path, which is already an absolute path.
It also enables Spek (a Spek spec was added in 873800d86 but Spek was not enabled, so the spec was ignored and did not fail!).
I've also changed the spec itself, because tryFindDetektConfigurationFile looks for the config in baseDir and its parent, not in baseDir and its childs.
This commit fixes
tryFindDetektConfigurationFile
by using Stringpath
instead ofconfigFile.path
, which is already an absolute path.It also enables Spek (a Spek spec was added in 873800d86 but Spek was not enabled, so the spec was ignored and did not fail!).
I've also changed the spec itself, because
tryFindDetektConfigurationFile
looks for the config inbaseDir
and its parent, not inbaseDir
and its childs.