You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: api/tests/shared/acceptance/application/assessments/assessment-controller-get-next-challenge-for-demo_test.js
+8-42
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ describe('Acceptance | API | assessment-controller-get-next-challenge-for-demo',
52
52
describe('(demo) GET /api/assessments/:assessment_id/next',function(){
53
53
constassessmentId=1;
54
54
55
-
context('when no challenge is answered',function(){
55
+
context('when next challenge found',function(){
56
56
beforeEach(function(){
57
57
databaseBuilder.factory.buildAssessment({
58
58
id: assessmentId,
@@ -62,50 +62,18 @@ describe('Acceptance | API | assessment-controller-get-next-challenge-for-demo',
62
62
returndatabaseBuilder.commit();
63
63
});
64
64
65
-
it('should return 200 HTTP status code',function(){
65
+
it('should return 200 HTTP status code',asyncfunction(){
0 commit comments