capsela/capsela — comment on commit 420efd91f77fb7410cc8aa5f01385ae7d62cc2c6
File: testing/tests/stages/DispatcherTest.js line 62
By marcenuc:

I'm using Ubuntu-11.10 with node-0.6.12 compiled from sources. That's what I have done:

git clone git://github.com/capsela/capsela.git
cd capsela
npm update
ln -s .. node_modules/capsela # it fails whitout...
npm test

I get

==================== Results ====================

DispatcherTest
FAIL : basics : test init/getConfig
AssertionError at DispatcherTest.js line 61

test1 == default

AssertionError at DispatcherTest.js line 61

default == test1

FAIL : basics : test setUp
AssertionError at DispatcherTest.js line 115

test1 == default

AssertionError at DispatcherTest.js line 115

default == test1

FAILED (2 of 242 tests) - 709 ms

Changing lines 61 and 115 to `test.notEqual(exp.indexOf(name), -1)` fixes the problem for me.