Skip to content
Browse files

Changing test to be more descriptive

  • Loading branch information...
1 parent 48f81f1 commit d160d6ee3c5122e073a47ac29257dff06a5f0d81 @TrevorBurnham committed May 25, 2012
Showing with 5 additions and 7 deletions.
  1. +5 −7 test/test.coffee
View
12 test/test.coffee
@@ -42,11 +42,9 @@ exports['Dependency ordering is consistent (issue #2)'] = (test) ->
test.deepEqual depGraph.getChain('Head'), ['Shoulders', 'Neck', 'Heart']
test.done()
-exports['Dependency not interfered by others (issue #6)'] = (test) ->
- depGraph.add 'Jia', 'Yi'
- depGraph.add 'Jia', 'Bing'
- depGraph.add 'Jia', 'Ding'
- depGraph.add 'Wu', 'Ding'
- test.deepEqual depGraph.getChain('Wu'), ['Ding']
- test.ok 'Jia' not in depGraph.getChain('Wu')
+exports['Nodes with same dependencies do not depend on each other (issue #6)'] = (test) ->
+ depGraph.add 'Java', 'JVM'
+ depGraph.add 'JRuby', 'JVM'
+ test.deepEqual depGraph.getChain('Java'), ['JVM']
+ test.deepEqual depGraph.getChain('JRuby'), ['JVM']
test.done()

0 comments on commit d160d6e

Please sign in to comment.
Something went wrong with that request. Please try again.