diff --git a/test/helpers_test.js b/test/helpers_test.js index 273eced..c940c79 100644 --- a/test/helpers_test.js +++ b/test/helpers_test.js @@ -58,11 +58,11 @@ describe('app',function(){ }); describe('GET /helpers',function(){ - it('should render with default layout.ejs and show desktop string',function(done){ + it('should render with default layout.ejs and show phone string',function(done){ request(app) .get('/helpers') .expect(200) - .expect('express-device

desktop

') + .expect('express-device

phone

') .end(done); }); }); diff --git a/test/no_partials_test.js b/test/no_partials_test.js index dd1d220..cb1608f 100644 --- a/test/no_partials_test.js +++ b/test/no_partials_test.js @@ -58,11 +58,11 @@ describe('app',function(){ }); describe('GET /helpers without partials',function(){ - it('should render html and show desktop string',function(done){ + it('should render html and show phone string',function(done){ request(app) .get('/helpers') .expect(200) - .expect('express-device

desktop

') + .expect('express-device

phone

') .end(done); }); }); diff --git a/test/view_route_test.js b/test/view_route_test.js index 51f859f..af4dda5 100644 --- a/test/view_route_test.js +++ b/test/view_route_test.js @@ -7,7 +7,7 @@ describe('app',function(){ request(app) .get('/') .expect(200) - .expect('express-device

index

') + .expect('express-device for phone

index

') .end(done); }); }); @@ -137,7 +137,7 @@ describe('app',function(){ request(app) .get('/custom-layout') .expect(200) - .expect('custom

index

') + .expect('custom phone

index

') .end(done); }); });