Skip to content
Myr

moved a test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent bac62df · Browse files · 2 files+13 added−14 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+13 added−14 removed

  • tests:+13 added−14 removed

2 files+13 added−14 removed

modified:test/response.test.js-14 removed
573 unmodified lines
574575 assert.response(app,576 { url: '/' },577 { headers: { 'Content-Type': 'text/html; charset=utf8' }});578 },579580 'test .charset with res.render()': function(){581 var app = express.createServer();582 app.set('views', __dirname + '/fixtures');583584 app.get('/', function(req, res){585 res.charset = 'utf8';586 res.render('hello.jade');587 });588589 assert.response(app,590 { url: '/' },591 { headers: { 'Content-Type': 'text/html; charset=utf8' }});578 }579};
modified:test/view.test.js+13 added
881 unmodified lines
882883 assert.response(app,884 { url: '/pets' },885 { body: html });886 },887 888 'test .charset with res.render()': function(){889 var app = create();890891 app.get('/', function(req, res){892 res.charset = 'utf8';893 res.render('hello.jade');894 });895896 assert.response(app,897 { url: '/' },898 { headers: { 'Content-Type': 'text/html; charset=utf8' }});899 }900};