Created
October 14, 2019 22:06
-
-
Save jennjwill/29082df2f20aa66923fb10307d009a98 to your computer and use it in GitHub Desktop.
spec test failure details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> blocipedia-node@1.0.0 test C:\Users\Willz\bloc\blocipedia-node | |
> set NODE_ENV=test&& jasmine | |
Started | |
server is listening for requests on port 3000 | |
GET / 200 13.912 ms - 2933 | |
.GET /users/sign_up 200 2.882 ms - 3298 | |
.POST /users/sign_up 302 203.928 ms - 23 | |
.POST /users/sign_up 302 151.305 ms - 23 | |
.POST /users/sign_up 302 1.891 ms - 31 | |
.GET /users/sign_in 200 4.424 ms - 3323 | |
.GET /auth/fake 302 1.642 ms - 23 | |
GET / 200 3.063 ms - 2933 | |
GET /wikis/ 200 8.890 ms - 2106 | |
.GET /auth/fake 302 0.784 ms - 23 | |
GET / 200 2.530 ms - 2933 | |
Got thru Authorized in NEW fxn but before render | |
GET /wikis/new 500 7.321 ms - 3486 | |
USER in wikis/new is= 1 | |
FGET /auth/fake 302 1.319 ms - 23 | |
GET / 200 2.287 ms - 2933 | |
POST /wikis/create 303 8.339 ms - 34 | |
.GET /auth/fake 302 1.310 ms - 23 | |
GET / 200 2.147 ms - 2933 | |
GET /wikis/1 200 15.918 ms - 1956 | |
.GET /auth/fake 302 0.680 ms - 23 | |
GET / 200 3.882 ms - 2933 | |
INSIDE EDIT fxn. Thru Authorizer | |
GET /wikis/1/edit 500 9.937 ms - 3482 | |
FGET /auth/fake 302 0.689 ms - 23 | |
GET / 200 3.221 ms - 2933 | |
POST /wikis/1/update 302 8.105 ms - 30 | |
.GET /auth/fake 302 0.686 ms - 23 | |
GET / 200 2.852 ms - 2933 | |
POST /wikis/1/update 302 3.446 ms - 30 | |
.GET /auth/fake 302 1.232 ms - 23 | |
GET / 200 2.319 ms - 2933 | |
POST /wikis/1/destroy 303 4.246 ms - 32 | |
..... | |
Failures: | |
1) routes : wikis GET /wikis/new should render a view with a new wiki form | |
Message: | |
Expected '<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Error</title> | |
</head> | |
<body> | |
<pre>TypeError: C:\Users\Willz\bloc\blocipedia-node\src\views\wikis\new.ejs:<br> >> 33| <% if(currentUser.role !== &quo<br> 34| <div class="form-group<br> 35| <label for="pri<br> 36| <select classs="<br><br>Cannot read property 'role' of undefined<br> at eval (eval at compile (C:\Users\Willz\bloc\blocipedia-node\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:90:23)<br> at r ... to contain 'JavaScript'. | |
Stack: | |
Error: Expected '<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Error</title> | |
</head> | |
<body> | |
<pre>TypeError: C:\Users\Willz\bloc\blocipedia-node\src\views\wikis\new.ejs:<br> >> 33| <% if(currentUser.role !== &quo<br> 34| <div class="form-group<br> 35| <label for="pri<br> 36| <select classs="<br><br>Cannot read property 'role' of undefined<br> at eval (eval at compile (C:\Users\Willz\bloc\blocipedia-node\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:90:23)<br> at r ... to contain 'JavaScript'. | |
at <Jasmine> | |
at Request.request.get [as _callback] (C:\Users\Willz\bloc\blocipedia-node\spec\integration\wikis_spec.js:255:22) | |
at Request.self.callback (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:186:22) | |
at Request.emit (events.js:197:13) | |
at Request.<anonymous> (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:1163:10) | |
at Request.emit (events.js:197:13) | |
at IncomingMessage.<anonymous> (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:1085:12) | |
at Object.onceWrapper (events.js:285:13) | |
at IncomingMessage.emit (events.js:202:15) | |
at endReadableNT (_stream_readable.js:1132:12) | |
at processTicksAndRejections (internal/process/next_tick.js:76:17) | |
2) routes : wikis GET /wikis/:id/edit should render a view with an edit wiki form | |
Message: | |
Expected '<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Error</title> | |
</head> | |
<body> | |
<pre>TypeError: C:\Users\Willz\bloc\blocipedia-node\src\views\wikis\edit.ejs<br> 45| <button type="submit&q<br> >> 46| <% if(!currentUser.isStandard &<br> 47| currentUser && current<br> 48| <a href="/wikis/<%=<br> 49| >Edit Collaborators&<br><br>Cannot read property 'isStandard' of undefined<br> at eval (eval at compile (C:\Users\Willz\bloc\blocipedia-node\node_m ... to contain 'Edit Wiki'. | |
Stack: | |
Error: Expected '<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Error</title> | |
</head> | |
<body> | |
<pre>TypeError: C:\Users\Willz\bloc\blocipedia-node\src\views\wikis\edit.ejs<br> 45| <button type="submit&q<br> >> 46| <% if(!currentUser.isStandard &<br> 47| currentUser && current<br> 48| <a href="/wikis/<%=<br> 49| >Edit Collaborators&<br><br>Cannot read property 'isStandard' of undefined<br> at eval (eval at compile (C:\Users\Willz\bloc\blocipedia-node\node_m ... to contain 'Edit Wiki'. | |
at <Jasmine> | |
at Request.request.get [as _callback] (C:\Users\Willz\bloc\blocipedia-node\spec\integration\wikis_spec.js:301:22) | |
at Request.self.callback (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:186:22) | |
at Request.emit (events.js:197:13) | |
at Request.<anonymous> (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:1163:10) | |
at Request.emit (events.js:197:13) | |
at IncomingMessage.<anonymous> (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:1085:12) | |
at Object.onceWrapper (events.js:285:13) | |
at IncomingMessage.emit (events.js:202:15) | |
at endReadableNT (_stream_readable.js:1132:12) | |
at processTicksAndRejections (internal/process/next_tick.js:76:17) | |
18 specs, 2 failures | |
Finished in 1.692 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment