davidchambers / tutor

JavaScript interface for the Gatherer card database
https://gatherer.wizards.com/
Do What The F*ck You Want To Public License
149 stars 18 forks source link

1 Failing Test #65

Closed gralamin closed 11 years ago

gralamin commented 11 years ago

I just cloned and installed today. Error is likely due to an ruling being updated.

 1) tutor.card extracts rulings:
     Uncaught AssertionError: [["2007-10-01","The vigilance granted to a creature by the second ability remains until the end of the turn even if the +1/+1 co deepEqual [["2007-10-01","The vigilance granted to a creature by the second ability remains until the end of the turn even if the +1/+1 co
      at /home/gralamin/git/tutor/test/tutor.coffee:57:32
      at /home/gralamin/git/tutor/test/tutor.coffee:124:65
      at /home/gralamin/git/tutor/src/tutor.coffee:40:18
      at /home/gralamin/git/tutor/src/gatherer/printings.coffee:13:16
      at Request._callback (/home/gralamin/git/tutor/src/gatherer.coffee:47:16)
      at Request.self.callback (/home/gralamin/git/tutor/node_modules/request/main.js:122:22)
      at Request.EventEmitter.emit (events.js:98:17)
      at Request.<anonymous> (/home/gralamin/git/tutor/node_modules/request/main.js:661:16)
      at Request.EventEmitter.emit (events.js:117:20)
      at OutgoingMessage.<anonymous> (/home/gralamin/git/tutor/node_modules/request/main.js:623:14)
      at OutgoingMessage.EventEmitter.emit (events.js:92:17)
      at ReadStream.<anonymous> (/home/gralamin/git/tutor/node_modules/nock/lib/request_overrider.js:177:18)
      at ReadStream.EventEmitter.emit (events.js:117:20)
      at _stream_readable.js:910:16
      at process._tickCallback (node.js:415:13)

grep tells me that it is for Ajani Goldmane. Running in Ubuntu Linux 13.04.

davidchambers commented 11 years ago

Thanks for the bug report, @gralamin.