test(integration): fix path to match new content

This commit is contained in:
Benedikt Rötsch
2018-02-02 14:43:52 +01:00
committed by Benedikt Rötsch
parent 5b052104f3
commit bccdb86f2c

View File

@@ -22,7 +22,7 @@ describe('courses', () => {
})
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)
.then((response) => {
expect(response.text.match(/class="lesson__title"/)).toBeTruthy()