diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-27 01:45:51 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-27 01:45:51 +0000 |
| commit | ef5d0e0304cea09fdd67745153e617b197667479 (patch) | |
| tree | 56d7dec49415f2bb353e4628bad890a3990895fd /test | |
| parent | 3b002a6fb136b9e7e534ffbcfedabed72fcd373d (diff) | |
| parent | 7180bb0605e490b789d946aa64f8f678cbf13f00 (diff) | |
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'test')
| -rw-r--r-- | test/routingDb_tests.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/routingDb_tests.js b/test/routingDb_tests.js index dd5fe44..d3a607f 100644 --- a/test/routingDb_tests.js +++ b/test/routingDb_tests.js @@ -332,7 +332,8 @@ describe('Solutions Route:', function(){ }); - /* COME BACK TO THIS AFTER GET_ALL_SOLUTIONS IS UPDATED*/ + /* The path will render but an error message will be displayed + * To see error message, test false id on front end. */ it('Search solutions for a non existing exam', function testSlash(done) { var qID = 1; //Check the first question var examID = exams.nonExisting._id.$oid; @@ -340,9 +341,6 @@ describe('Solutions Route:', function(){ .get('/solutions/' + examID + '/' + qID) .end(function(err, res){ expect(res).to.have.status(200); - // Check for expected url path - var path = res.res.req.path; - assert.equal(path, '/solutions/' + examID + '/' + qID); done(); }); }); |
