test(integration): adjust for new content and settings
This commit is contained in:
committed by
Khaled Garbaya
parent
e5a8828aa1
commit
60a94f0b1e
@@ -11,7 +11,7 @@ describe('courses', () => {
|
||||
})
|
||||
})
|
||||
test('it should render a course', () => {
|
||||
return request(app).get('/courses/hello-world')
|
||||
return request(app).get('/courses/hello-contentful')
|
||||
.expect(200)
|
||||
.then((response) => {
|
||||
expect(response.text.match(/class="course__title"/)).toBeTruthy()
|
||||
@@ -22,7 +22,7 @@ describe('courses', () => {
|
||||
})
|
||||
|
||||
test('it should render a lesson', () => {
|
||||
return request(app).get('/courses/hello-world/lessons/architecture')
|
||||
return request(app).get('/courses/hello-contentful/lessons/architecture')
|
||||
.expect(200)
|
||||
.then((response) => {
|
||||
expect(response.text.match(/class="lesson__title"/)).toBeTruthy()
|
||||
|
||||
Reference in New Issue
Block a user