public static boolean isInstalled(final Project project, TestRunner.TestType type) { RubyPlatform platform = RubyPlatform.platformFor(project); if (platform == null) { return false; } if (type == TestRunner.TestType.AUTOTEST) { return platform.hasValidAutoTest(false); } else if (type == TestRunner.TestType.AUTOSPEC) { return platform.hasValidAutoSpec(false); } return false; }
if (!platform.hasValidAutoTest(true)) { return;