Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.38 KB | None | 0 0
  1. tanya@DESKTOP-4Q72IVM MINGW64 ~/bloc/bloccit (checkpoint-validations)
  2. $ npm test
  3.  
  4. > bloccit@1.0.0 test C:\Users\tanya\bloc\bloccit
  5. > set NODE_ENV=test&& jasmine
  6.  
  7. Started
  8. server is listening for requests on port 3000
  9. Welcome to Bloccit
  10. About Us
  11. F...F.FF............
  12.  
  13. Failures:
  14. 1) routes : posts GET /topics/:topicId/posts/new should render a new post form
  15. Message:
  16. ReferenceError: topic is not defined
  17. Stack:
  18. at <Jasmine>
  19. at UserContext.it (C:\Users\tanya\bloc\bloccit\spec\integration\posts_spec.js:44:30)
  20. at <Jasmine>
  21. at Post.create.then (C:\Users\tanya\bloc\bloccit\spec\integration\posts_spec.js:31:11)
  22. at tryCatcher (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\util.js:16:23)
  23. at Promise._settlePromiseFromHandler (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:512:31)
  24. at Promise._settlePromise (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:569:18)
  25. at Promise._settlePromise0 (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:614:10)
  26. at Promise._settlePromises (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:694:18)
  27. at _drainQueueStep (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:138:12)
  28. at _drainQueue (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:131:9)
  29. at Async._drainQueues (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:147:5)
  30. at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:17:14)
  31. at runCallback (timers.js:705:18)
  32. at tryOnImmediate (timers.js:676:5)
  33. at processImmediate (timers.js:658:5)
  34.  
  35. 2) routes : posts POST /topics/:topicId/posts/:id/destroy should delete the post with the associated ID
  36. Message:
  37. ReferenceError: post is not defined
  38. Stack:
  39. at <Jasmine>
  40. at UserContext.it (C:\Users\tanya\bloc\bloccit\spec\integration\posts_spec.js:126:13)
  41. at <Jasmine>
  42. at Post.create.then (C:\Users\tanya\bloc\bloccit\spec\integration\posts_spec.js:31:11)
  43. at tryCatcher (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\util.js:16:23)
  44. at Promise._settlePromiseFromHandler (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:512:31)
  45. at Promise._settlePromise (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:569:18)
  46. at Promise._settlePromise0 (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:614:10)
  47. at Promise._settlePromises (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:694:18)
  48. at _drainQueueStep (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:138:12)
  49. at _drainQueue (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:131:9)
  50. at Async._drainQueues (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:147:5)
  51. at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:17:14)
  52. at runCallback (timers.js:705:18)
  53. at tryOnImmediate (timers.js:676:5)
  54. at processImmediate (timers.js:658:5)
  55.  
  56. 3) routes : posts POST /topics/:topicId/posts/:id/update should return a status code 302
  57. Message:
  58. ReferenceError: topic is not defined
  59. Stack:
  60. at <Jasmine>
  61. at UserContext.it (C:\Users\tanya\bloc\bloccit\spec\integration\posts_spec.js:159:23)
  62. at <Jasmine>
  63. at Post.create.then (C:\Users\tanya\bloc\bloccit\spec\integration\posts_spec.js:31:11)
  64. at tryCatcher (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\util.js:16:23)
  65. at Promise._settlePromiseFromHandler (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:512:31)
  66. at Promise._settlePromise (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:569:18)
  67. at Promise._settlePromise0 (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:614:10)
  68. at Promise._settlePromises (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:694:18)
  69. at _drainQueueStep (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:138:12)
  70. at _drainQueue (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:131:9)
  71. at Async._drainQueues (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:147:5)
  72. at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:17:14)
  73. at runCallback (timers.js:705:18)
  74. at tryOnImmediate (timers.js:676:5)
  75. at processImmediate (timers.js:658:5)
  76.  
  77. 4) routes : posts POST /topics/:topicId/posts/:id/update should update the post with the given values
  78. Message:
  79. Expected 'Snowball Fighting' to be 'Snowman Building Competition'.
  80. Stack:
  81. Error: Expected 'Snowball Fighting' to be 'Snowman Building Competition'.
  82. at <Jasmine>
  83. at Post.findOne.then (C:\Users\tanya\bloc\bloccit\spec\integration\posts_spec.js:186:30)
  84. at tryCatcher (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\util.js:16:23)
  85. at Promise._settlePromiseFromHandler (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:512:31)
  86. at Promise._settlePromise (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:569:18)
  87. at Promise._settlePromise0 (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:614:10)
  88. at Promise._settlePromises (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\promise.js:694:18)
  89. at _drainQueueStep (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:138:12)
  90. at _drainQueue (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:131:9)
  91. at Async._drainQueues (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:147:5)
  92. at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\tanya\bloc\bloccit\node_modules\bluebird\js\release\async.js:17:14)
  93. at runCallback (timers.js:705:18)
  94. at tryOnImmediate (timers.js:676:5)
  95. at processImmediate (timers.js:658:5)
  96.  
  97. 20 specs, 4 failures
  98. Finished in 4.322 seconds
  99. npm ERR! Test failed. See above for more details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement