Skip to content

Commit

Permalink
Changed tests to work on lib folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
alinex committed May 6, 2014
1 parent d753edc commit 03d4b01
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 11 deletions.
4 changes: 0 additions & 4 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ Version 0.0.3 (2014-05-06)
- Fixed code and completed tests for find, copy and remove methods.
- Added more tests to filter and find methods.
- Start reworking filter to support depth.
- Fixed bug in findSync with filter.
- Fixed bug in lstat calls.
- Add caching to fs.lstat methods, remove own implementation.
- Add min and max depth checks to find.
- Added filter methods to remove and copy commands.
- Add synchronous filter method attached to find.
- Completed async pattern flter tests.
- Extended pattern matches.
- Fixed bug in mocha tests on calling the source coffee.
- Added tests for the internal filter method.
- Added some readme for the filter methods.
- Added basic filter methods to find.

Version 0.0.2 (2014-04-29)
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/copy.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ expect = chai.expect

describe "Recursive copy", ->

fs = require '../../src/index'
fs = require '../../lib/index'

beforeEach (cb) ->
exec 'mkdir -p test/temp/dir1', ->
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/default.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ expect = chai.expect

describe "Nodes default methods:", ->

fs = require '../../src/index'
fs = require '../../lib/index'

describe "exists", ->
it "should return true for existing file", ->
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/filter-depth.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ util = require 'util'

describe "Filter file structure depth", ->

filter = require '../../src/filter'
filter = require '../../lib/filter'

# Tests based on
# -------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/filter-pattern.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ util = require 'util'

describe "Pattern matching filter", ->

filter = require '../../src/filter'
filter = require '../../lib/filter'

# Tests based on
# -------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/find.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ expect = chai.expect

describe "Find", ->

fs = require '../../src/index'
fs = require '../../lib/index'

beforeEach (cb) ->
exec 'mkdir -p test/temp/dir1', ->
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/mkdirs.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ expect = chai.expect

describe "Recursive mkdirs", ->

fs = require '../../src/index'
fs = require '../../lib/index'

beforeEach (cb) ->
fs.exists 'test/temp', (exists) ->
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/remove.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ expect = chai.expect

describe "Remove", ->

fs = require '../../src/index'
fs = require '../../lib/index'

beforeEach (cb) ->
exec 'mkdir -p test/temp/dir1', ->
Expand Down

0 comments on commit 03d4b01

Please sign in to comment.