test(integration): adjust for new content and settings

This commit is contained in:
Benedikt Rötsch
2017-12-14 15:04:49 +01:00
committed by Khaled Garbaya
parent e5a8828aa1
commit 60a94f0b1e
2 changed files with 3 additions and 3 deletions

View File

@@ -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()