Skip to content

Commit d2438c3

Browse files
committed
fixing tests
1 parent e8e1826 commit d2438c3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/epsom.coffee

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ describe 'When calling epsom from the current directory', ->
1919
rm '-fr', temp_path
2020

2121
it 'should create the expected files', ->
22+
expected = [ 'assets','config','Gruntfile.coffee','package.json','server.js','src' ]
2223
res = ls temp_path
23-
res.join('').should.equal [ 'assets','config','Gruntfile.coffee','package.json','server.js','src' ].join('')
24+
res.length.should.equal expected.length
25+
for x in res
26+
expected.indexOf(x).should.not.equal -1
27+
28+
# res.join('').should.equal [ 'assets','config','Gruntfile.coffee','package.json','server.js','src' ].join('')
2429

2530
it 'should have no empty package.json', ->
2631
file_st = fs.readFileSync "#{temp_path}/package.json", 'utf8'

0 commit comments

Comments
 (0)