Enable core specs when run outside of clone repo

The failing specs have been updated so that specs
can now run without the requirement of a Git repository
at the root.
This commit is contained in:
Kevin Sawicki
2014-05-30 15:35:49 -07:00
parent bcad8c1b3e
commit 1704c78eea

View File

@@ -27,11 +27,6 @@ setSpecDirectory = (specDirectory) ->
runAllSpecs = ->
{resourcePath} = atom.getLoadSettings()
# Only run core specs when resource path is the Atom repository
if Git.exists(resourcePath)
requireSpecs(path.join(resourcePath, 'spec'))
setSpecType('core')
fixturesPackagesPath = path.join(__dirname, 'fixtures', 'packages')
packagePaths = atom.packages.getAvailablePackageNames().map (packageName) ->
atom.packages.resolvePackagePath(packageName)