test(integration): fix path to match new content
This commit is contained in:
committed by
Benedikt Rötsch
parent
5b052104f3
commit
bccdb86f2c
@@ -22,7 +22,7 @@ describe('courses', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test('it should render a lesson', () => {
|
test('it should render a lesson', () => {
|
||||||
return request(app).get('/courses/hello-contentful/lessons/architecture')
|
return request(app).get('/courses/hello-contentful/lessons/content-management')
|
||||||
.expect(200)
|
.expect(200)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
expect(response.text.match(/class="lesson__title"/)).toBeTruthy()
|
expect(response.text.match(/class="lesson__title"/)).toBeTruthy()
|
||||||
|
|||||||
Reference in New Issue
Block a user