Spike out specs

This commit is contained in:
Will Farrington
2012-11-09 11:35:45 -08:00
parent fa743eefd8
commit e13270bcb3
2 changed files with 6 additions and 0 deletions

View File

@@ -118,6 +118,11 @@ describe "Project", ->
expect(paths).not.toContain('a')
expect(paths).toContain('b')
it "ignores files in gitignore for projects in a git tree", ->
project.setPath(require.resolve('fixtures/git/working-dir'))
paths = project.getFilePaths()
expect(paths).not.toContain('ignored.txt')
describe ".scan(options, callback)", ->
describe "when called with a regex", ->
it "calls the callback with all regex matches in all files in the project", ->

View File

@@ -0,0 +1 @@
ignored.txt