Commit Graph

12 Commits

Author SHA1 Message Date
Phil Hord
212886817e Clean up *nix-specific paths in spec
There remain a few others in other specs, but someone who can test
them reliably should clean those up.
2015-10-01 09:41:24 -04:00
Phil Hord
7445857c82 Add test for .git-files 2015-09-21 17:29:30 -04:00
Michael Bolin
14316b1cd7 Add Repository::getType().
For `GitRepository`, this will return `"git"`.
2015-03-23 15:38:38 -07:00
Michael Bolin
61fb408777 Tighten up comment. 2015-02-23 10:10:37 -08:00
Michael Bolin
6bd6a8ccdd Introduce use of beforeEach() in unit test. 2015-02-23 09:59:16 -08:00
Michael Bolin
07039ba47a Check whether existsSync() is available in GitRepositoryProvider before trying to call it. 2015-02-23 09:30:43 -08:00
Michael Bolin
6d24aaf497 Make sure that GitRepositoryProvider.repositoryForDirectorySync() returns null rather than throws.
The UI locks up if this method does not return.
2015-02-21 00:07:40 -08:00
Kevin Sawicki
63af713a3f Guard against detected repository that does not open
Closes #5609
2015-02-18 09:16:06 -08:00
Michael Bolin
248e958628 Move most test logic into waitsForPromise in git-repository-provider-spec.coffee 2015-02-12 09:49:40 -08:00
Michael Bolin
efd9e505eb split up one of the tests in git-repository-provider-spec.coffee 2015-02-12 09:43:17 -08:00
Michael Bolin
5cbfc2473d Remove snake-case variable names in tests. 2015-02-12 09:33:25 -08:00
Michael Bolin
bdae2f99a8 Add a unit test for GitRepositoryProvider. 2015-02-11 23:27:59 -08:00