davidchambers/tutor

Problem with tutor set

tbjers opened this issue · 5 comments

I am trying to get cards in a set (this currently affects all sets) and I get the following error:

$ bin/tutor set 'Lorwyn'
TypeError: Cannot read property 'body' of undefined

Prior to the recent merges, I got this error instead:

$ bin/tutor set 'Lorwyn'
TypeError: Cannot read property 'name' of undefined

Please advise. Is there any way I can provide better error logs and such?

I figured out how to run the tests, here's the output I get:

$ make fixtures
$ make test
node_modules/.bin/mocha --compilers coffee:coffee-script/register --grep '^\$' --invert --timeout 5000

  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

    60 passing (17s)
    28 failing

      1) tutor.set extracts names:
           Uncaught AssertionError: {} === null
               at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:124:7
                   at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                       at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    2) tutor.set extracts mana costs:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:129:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    3) tutor.set extracts mana costs containing hybrid mana symbols:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:135:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    4) tutor.set extracts mana costs containing Phyrexian mana symbols:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:141:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    5) tutor.set extracts mana costs containing double-digit mana symbols:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:147:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    6) tutor.set includes mana costs discerningly:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:153:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    7) tutor.set calculates converted mana costs:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:161:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    8) tutor.set extracts supertypes:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:168:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    9) tutor.set extracts types:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:175:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    10) tutor.set extracts subtypes:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:182:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    11) tutor.set extracts rules text:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:190:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    12) tutor.set handles consecutive hybrid mana symbols:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:202:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    13) tutor.set extracts color indicators:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:217:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    14) tutor.set includes color indicators discerningly:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:223:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    15) tutor.set extracts image_url and gatherer_url:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:229:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    16) tutor.set extracts stats:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:236:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    17) tutor.set handles fractional stats:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:243:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    18) tutor.set handles dynamic stats:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:256:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    19) tutor.set extracts loyalties:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:263:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    20) tutor.set includes loyalties discerningly:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:269:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    21) tutor.set extracts hand modifiers:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:275:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    22) tutor.set extracts life modifiers:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:281:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    23) tutor.set includes expansion:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:287:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    24) tutor.set extracts rarities:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:292:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    25) tutor.set extracts versions:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:306:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    26) tutor.set includes all versions of each basic land:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:314:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    27) tutor.set handles split cards:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:331:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)


    28) tutor.set handles flip cards:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:337:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)




  make: *** [test] Error 28

I'm on my phone so it's hard to check, but this may be related to the most recently closed issue (#86?) that I opened.

On Fri, Jul 18, 2014 at 4:46 PM, Torgny Bjers notifications@github.com
wrote:

I figured out how to run the tests, here's the output I get:
$ make fixtures
$ make test

node_modules/.bin/mocha --compilers coffee:coffee-script/register --grep '^\$' --invert --timeout 5000
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
    60 passing (17s)
    28 failing
      1) tutor.set extracts names:
           Uncaught AssertionError: {} === null
               at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:124:7
                   at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                       at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    2) tutor.set extracts mana costs:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:129:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    3) tutor.set extracts mana costs containing hybrid mana symbols:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:135:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    4) tutor.set extracts mana costs containing Phyrexian mana symbols:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:141:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    5) tutor.set extracts mana costs containing double-digit mana symbols:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:147:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    6) tutor.set includes mana costs discerningly:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:153:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    7) tutor.set calculates converted mana costs:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:161:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    8) tutor.set extracts supertypes:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:168:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    9) tutor.set extracts types:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:175:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    10) tutor.set extracts subtypes:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:182:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    11) tutor.set extracts rules text:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:190:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    12) tutor.set handles consecutive hybrid mana symbols:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:202:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    13) tutor.set extracts color indicators:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:217:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    14) tutor.set includes color indicators discerningly:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:223:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    15) tutor.set extracts image_url and gatherer_url:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:229:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    16) tutor.set extracts stats:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:236:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    17) tutor.set handles fractional stats:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:243:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    18) tutor.set handles dynamic stats:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:256:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    19) tutor.set extracts loyalties:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:263:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    20) tutor.set includes loyalties discerningly:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:269:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    21) tutor.set extracts hand modifiers:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:275:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    22) tutor.set extracts life modifiers:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:281:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    23) tutor.set includes expansion:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:287:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    24) tutor.set extracts rarities:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:292:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    25) tutor.set extracts versions:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:306:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    26) tutor.set includes all versions of each basic land:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:314:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    27) tutor.set handles split cards:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:331:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
    28) tutor.set handles flip cards:
         Uncaught AssertionError: {} === null
             at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:337:7
                 at /Users/torgny/git/OpenSource/tutor/test/tutor.coffee:64:7
                     at Promise_done_rejected (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:862:26)
      at Rejected_then [as then] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1324:23)
      at Rejected_dispatch [as dispatch] (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1312:23)
      at Pending_become_eachMessage_task (/Users/torgny/git/OpenSource/tutor/node_modules/q/q.js:1370:30)
      at flush (/Users/torgny/git/OpenSource/tutor/node_modules/q/node_modules/asap/asap.js:27:13)
      at process._tickCallback (node.js:419:13)
  make: *** [test] Error 28

Reply to this email directly or view it on GitHub:
#88 (comment)

Your dependencies may be out of date. Try running these commands:

$ rm -r node_modules
$ make setup
$ make fixtures
$ make test testcli

Thanks, @davidchambers. That worked. I cloned my fork (which is up-to-date with master) and just ran npm install and that apparently wasn't enough. I followed your instructions and all tests passed and bin/tutor now properly returns cards in a set.

Prior to #87, make setup was an alias for npm install. Now, make setup does a couple of extra things so that we no longer need to commit changes to the generated JavaScript files.